Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 80.52 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002351/0.002351, allocations: 166.1 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 177.1 MB / 202.8 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.907/2.907, allocations: 377.8 MB / 0.6221 GB, free: 12.64 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.143e-05/3.411e-05, allocations: 2.281 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002106/0.00214, allocations: 0.7868 MB / 0.9822 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001211/0.002261, allocations: 43.84 kB / 0.9823 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.002315, allocations: 0 / 0.9823 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.4e-05/0.002359, allocations: 7.875 kB / 0.9823 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.961e-05/0.002448, allocations: 15.8 kB / 0.9823 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.832e-05/0.002497, allocations: 19.98 kB / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.002623, allocations: 59.84 kB / 0.9824 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.002772, allocations: 35.91 kB / 0.9824 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.002875, allocations: 39.84 kB / 0.9824 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.601e-05/0.002931, allocations: 27.83 kB / 0.9825 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.002959, allocations: 4 kB / 0.9825 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.002969, allocations: 8 kB / 0.9825 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.002993, allocations: 15.94 kB / 0.9825 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.003028, allocations: 19.91 kB / 0.9825 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.003151, allocations: 67.77 kB / 0.9826 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.003155, allocations: 0 / 0.9826 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003155, allocations: 0 / 0.9826 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.00316, allocations: 0 / 0.9826 GB, free: 10.85 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000472/0.003632, allocations: 320.5 kB / 0.9829 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.003674, allocations: 8.031 kB / 0.9829 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.003713, allocations: 12.84 kB / 0.9829 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.003912, allocations: 129.7 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.003925, allocations: 4.375 kB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.003945, allocations: 8.375 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.004115, allocations: 103.8 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.004123, allocations: 192 / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.004134, allocations: 384 / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.004144, allocations: 8.359 kB / 0.9831 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.44e-05/0.004219, allocations: 39.92 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.004755, allocations: 356.4 kB / 0.9835 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.166e-05/0.004817, allocations: 37.22 kB / 0.9835 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.004854, allocations: 13.78 kB / 0.9836 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.004863, allocations: 4.031 kB / 0.9836 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.004893, allocations: 42.56 kB / 0.9836 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.004894, allocations: 0 / 0.9836 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001788/0.005073, allocations: 57.58 kB / 0.9837 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.005123, allocations: 77.11 kB / 0.9837 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.005251, allocations: 132.9 kB / 0.9839 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.00527, allocations: 33.69 kB / 0.9839 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.005345, allocations: 111.9 kB / 0.984 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.966e-06/0.005354, allocations: 4 kB / 0.984 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.005389, allocations: 21.67 kB / 0.984 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.005528, allocations: 314.8 kB / 0.9843 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/0.005548, allocations: 7.984 kB / 0.9843 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.333e-05/0.005571, allocations: 17.72 kB / 0.9843 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.718e-05/0.005618, allocations: 33.91 kB / 0.9844 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.00562, allocations: 0 / 0.9844 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.385e-05/0.005703, allocations: 53.69 kB / 0.9844 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.005726, allocations: 4 kB / 0.9844 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.00573, allocations: 3.938 kB / 0.9844 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.005746, allocations: 0 / 0.9844 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.005807, allocations: 11.94 kB / 0.9844 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.005814, allocations: 3.938 kB / 0.9845 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.005844, allocations: 7.891 kB / 0.9845 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.005851, allocations: 8.062 kB / 0.9845 GB, free: 8.691 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.525e-05/0.005936, allocations: 113.8 kB / 0.9846 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.005974, allocations: 0 / 0.9846 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.005996, allocations: 11.45 kB / 0.9846 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.005997, allocations: 0 / 0.9846 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.006001, allocations: 0 / 0.9846 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.006007, allocations: 11.88 kB / 0.9846 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.006432, allocations: 410.4 kB / 0.985 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.006434, allocations: 0 / 0.985 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/0.006453, allocations: 8.062 kB / 0.985 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006454, allocations: 0 / 0.985 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.006463, allocations: 7.938 kB / 0.985 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.006464, allocations: 0 / 0.985 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006465, allocations: 0 / 0.985 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.978e-05/0.006555, allocations: 77.92 kB / 0.9851 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.006577, allocations: 7.953 kB / 0.9851 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.006592, allocations: 3.938 kB / 0.9851 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.75e-05/0.006609, allocations: 0 / 0.9851 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.006633, allocations: 4 kB / 0.9851 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.006638, allocations: 8.016 kB / 0.9851 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.538e-05/0.006703, allocations: 99.27 kB / 0.9852 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.006704, allocations: 0 / 0.9852 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001932/0.006897, allocations: 11.95 kB / 0.9852 GB, free: 7.859 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001171/0.007014, allocations: 95.78 kB / 0.9853 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.359e-05/0.007097, allocations: 15.94 kB / 0.9853 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007099, allocations: 0 / 0.9853 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.033e-05/0.007109, allocations: 4 kB / 0.9853 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.007258, allocations: 12.25 kB / 0.9853 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.007598, allocations: 166.6 kB / 0.9855 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.292e-05/0.007671, allocations: 79.27 kB / 0.9856 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.034e-05/0.007701, allocations: 7.984 kB / 0.9856 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.00773, allocations: 8.594 kB / 0.9856 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.00773, allocations: 0 / 0.9856 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of Templates: time 0.002846/0.01058, allocations: 356.8 kB / 0.9859 GB, free: 7.062 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.317776758223772]