Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 115 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 193.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.812/2.812, allocations: 437.1 MB / 0.7178 GB, free: 4.516 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 63.91 kB / 1.028 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3421, allocations: 151.6 MB / 1.176 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002141/0.3443, allocations: 0.8178 MB / 1.177 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001284/0.3444, allocations: 47.8 kB / 1.177 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.3445, allocations: 3.938 kB / 1.177 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.538e-05/0.3445, allocations: 11.86 kB / 1.177 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.869e-05/0.3446, allocations: 11.86 kB / 1.177 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.94e-05/0.3447, allocations: 19.98 kB / 1.177 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.3449, allocations: 59.84 kB / 1.177 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.3451, allocations: 47.97 kB / 1.177 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.642e-05/0.3451, allocations: 23.88 kB / 1.177 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.32e-05/0.3452, allocations: 31.78 kB / 1.177 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.3452, allocations: 4 kB / 1.177 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.3452, allocations: 8 kB / 1.177 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.3453, allocations: 11.94 kB / 1.177 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.3453, allocations: 35.78 kB / 1.177 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.3455, allocations: 75.59 kB / 1.177 GB, free: 4.617 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3455, allocations: 7.938 kB / 1.177 GB, free: 4.609 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3455, allocations: 0 / 1.177 GB, free: 4.609 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.3455, allocations: 0 / 1.177 GB, free: 4.609 MB / 0.92 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.0005628/0.3461, allocations: 383.1 kB / 1.177 GB, free: 4.184 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3461, allocations: 8.031 kB / 1.177 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.3462, allocations: 12.84 kB / 1.177 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.3464, allocations: 192.2 kB / 1.178 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3464, allocations: 8.375 kB / 1.178 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.3465, allocations: 4.375 kB / 1.178 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.3466, allocations: 102.1 kB / 1.178 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3466, allocations: 4.188 kB / 1.178 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.3467, allocations: 7.938 kB / 1.178 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3467, allocations: 0 / 1.178 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.999e-05/0.3468, allocations: 39.97 kB / 1.178 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/0.3475, allocations: 440.7 kB / 1.178 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.521e-05/0.3475, allocations: 37.16 kB / 1.178 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.3476, allocations: 29.86 kB / 1.178 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.3476, allocations: 0 / 1.178 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.3477, allocations: 34.56 kB / 1.178 GB, free: 3.148 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.3477, allocations: 0 / 1.178 GB, free: 3.148 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001858/0.3478, allocations: 53.53 kB / 1.178 GB, free: 3.09 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.3479, allocations: 81.11 kB / 1.178 GB, free: 2.992 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.3481, allocations: 161.1 kB / 1.179 GB, free: 2.828 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.3481, allocations: 25.7 kB / 1.179 GB, free: 2.797 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.303e-05/0.3482, allocations: 104 kB / 1.179 GB, free: 2.691 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.122e-05/0.3482, allocations: 7.953 kB / 1.179 GB, free: 2.684 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.3483, allocations: 21.91 kB / 1.179 GB, free: 2.656 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3484, allocations: 318.8 kB / 1.179 GB, free: 2.336 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.3484, allocations: 8 kB / 1.179 GB, free: 2.328 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.788e-05/0.3485, allocations: 21.7 kB / 1.179 GB, free: 2.301 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.078e-05/0.3485, allocations: 29.66 kB / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3485, allocations: 0 / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.822e-05/0.3486, allocations: 57.61 kB / 1.179 GB, free: 2.203 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3486, allocations: 15.92 kB / 1.179 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3487, allocations: 7.922 kB / 1.179 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3487, allocations: 0 / 1.179 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.454e-05/0.3487, allocations: 4 kB / 1.179 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3488, allocations: 0 / 1.179 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.814e-05/0.3488, allocations: 4 kB / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3488, allocations: 4 kB / 1.179 GB, free: 2.168 MB / 0.92 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 0.0001024/0.3489, allocations: 117.8 kB / 1.179 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.349, allocations: 7.953 kB / 1.179 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.349, allocations: 19.8 kB / 1.179 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.349, allocations: 0 / 1.179 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.349, allocations: 0 / 1.179 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.349, allocations: 4 kB / 1.179 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.3495, allocations: 470.7 kB / 1.18 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3495, allocations: 8.062 kB / 1.18 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.669e-05/0.3495, allocations: 0 / 1.18 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3495, allocations: 4 kB / 1.18 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.3495, allocations: 0 / 1.18 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.3496, allocations: 0 / 1.18 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3496, allocations: 0 / 1.18 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.403e-05/0.3497, allocations: 81.81 kB / 1.18 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.3498, allocations: 101 kB / 1.18 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.3498, allocations: 0 / 1.18 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.209e-05/0.3498, allocations: 8 kB / 1.18 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.3499, allocations: 0 / 1.18 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.3499, allocations: 0 / 1.18 GB, free: 1.246 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001016/0.35, allocations: 121.3 kB / 1.18 GB, free: 1.129 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.35, allocations: 0 / 1.18 GB, free: 1.129 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001929/0.3502, allocations: 8 kB / 1.18 GB, free: 1.121 MB / 0.92 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.000134/0.3503, allocations: 105.8 kB / 1.18 GB, free: 1.012 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.016e-05/0.3504, allocations: 23.94 kB / 1.18 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3504, allocations: 0 / 1.18 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.234e-05/0.3504, allocations: 7.984 kB / 1.18 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.3506, allocations: 11.94 kB / 1.18 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.351, allocations: 188.1 kB / 1.18 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.3513, allocations: 0.7004 MB / 1.181 GB, free: 16 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.3514, allocations: 11.44 kB / 1.181 GB, free: 4 kB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.3514, allocations: 0 / 1.181 GB, free: 4 kB / 0.92 GB Notification: Performance of Templates: time 0.002841/0.3542, allocations: 0.8639 MB / 1.182 GB, free: 15.14 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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: 10.371791349956766]