Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.0007506/0.0007506, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007644/0.0007644, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9217/0.9217, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.696/1.696, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.893e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001495/0.001524, allocations: 0.7946 MB / 0.9525 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000106/0.00163, allocations: 35.8 kB / 0.9525 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/0.001683, allocations: 0 / 0.9525 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.001721, allocations: 15.86 kB / 0.9526 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.319e-05/0.001794, allocations: 3.938 kB / 0.9526 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.311e-05/0.001837, allocations: 19.98 kB / 0.9526 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.001938, allocations: 67.75 kB / 0.9527 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.002063, allocations: 31.92 kB / 0.9527 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.299e-05/0.002146, allocations: 39.91 kB / 0.9527 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.846e-05/0.002184, allocations: 19.91 kB / 0.9527 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.002211, allocations: 8 kB / 0.9527 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.793e-06/0.002218, allocations: 4 kB / 0.9528 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.002239, allocations: 15.92 kB / 0.9528 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.002265, allocations: 19.92 kB / 0.9528 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.002367, allocations: 75.69 kB / 0.9529 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002369, allocations: 0 / 0.9529 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.032e-06/0.00237, allocations: 0 / 0.9529 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.002374, allocations: 0 / 0.9529 GB, free: 1.84 MB / 0.9011 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.0003838/0.002758, allocations: 308 kB / 0.9532 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.002798, allocations: 23.95 kB / 0.9532 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.002835, allocations: 12.84 kB / 0.9532 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.002999, allocations: 133.5 kB / 0.9533 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.003012, allocations: 8.375 kB / 0.9533 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.003023, allocations: 4.375 kB / 0.9533 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.003148, allocations: 91.95 kB / 0.9534 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.003158, allocations: 4.125 kB / 0.9534 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.003169, allocations: 4.375 kB / 0.9534 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.003175, allocations: 4.375 kB / 0.9534 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.549e-05/0.00324, allocations: 35.92 kB / 0.9535 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.003616, allocations: 364.6 kB / 0.9538 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.08e-05/0.003666, allocations: 37.16 kB / 0.9538 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.103e-05/0.003698, allocations: 21.77 kB / 0.9539 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.003706, allocations: 4 kB / 0.9539 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.003729, allocations: 34.5 kB / 0.9539 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.00373, allocations: 0 / 0.9539 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001431/0.003873, allocations: 41.7 kB / 0.9539 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.003913, allocations: 85.3 kB / 0.954 GB, free: 500 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.125e-05/0.004004, allocations: 141.5 kB / 0.9542 GB, free: 352 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.168e-06/0.004014, allocations: 25.7 kB / 0.9542 GB, free: 320 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.00407, allocations: 108 kB / 0.9543 GB, free: 208 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-06/0.004078, allocations: 7.953 kB / 0.9543 GB, free: 200 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.004104, allocations: 17.67 kB / 0.9543 GB, free: 176 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.004201, allocations: 318.8 kB / 0.9546 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.004215, allocations: 4 kB / 0.9546 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.743e-05/0.004232, allocations: 21.72 kB / 0.9546 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.544e-05/0.004268, allocations: 29.7 kB / 0.9547 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.00427, allocations: 0 / 0.9547 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.703e-05/0.004327, allocations: 53.64 kB / 0.9547 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.004339, allocations: 4 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.004343, allocations: 0 / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.004357, allocations: 4 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.462e-05/0.004411, allocations: 7.984 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.004418, allocations: 7.875 kB / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.343e-05/0.004431, allocations: 4 kB / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.004435, allocations: 3.938 kB / 0.9547 GB, free: 15.7 MB / 0.9167 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 5.863e-05/0.004494, allocations: 117.9 kB / 0.9549 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.004518, allocations: 7.953 kB / 0.9549 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.004539, allocations: 7.469 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.004541, allocations: 3.938 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.004547, allocations: 4 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.004552, allocations: 7.922 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.004795, allocations: 410.4 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.004796, allocations: 0 / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.037e-06/0.004805, allocations: 4 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.004807, allocations: 8.047 kB / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.004814, allocations: 3.938 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.004815, allocations: 0 / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.004815, allocations: 0 / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.264e-05/0.004868, allocations: 73.89 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.004884, allocations: 11.94 kB / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.004894, allocations: 3.938 kB / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-06/0.004902, allocations: 4 kB / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.004914, allocations: 96 / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.00492, allocations: 11.98 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.968e-05/0.004959, allocations: 99.3 kB / 0.9555 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004959, allocations: 4 kB / 0.9555 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001158/0.005075, allocations: 4 kB / 0.9555 GB, free: 14.84 MB / 0.9167 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 7.133e-05/0.005147, allocations: 95.25 kB / 0.9556 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.133e-05/0.005218, allocations: 23.92 kB / 0.9556 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.005219, allocations: 0 / 0.9556 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.284e-06/0.005227, allocations: 8 kB / 0.9556 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001053/0.005332, allocations: 0 / 0.9556 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.005591, allocations: 204.5 kB / 0.9558 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.848e-05/0.00564, allocations: 71.33 kB / 0.9559 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.005664, allocations: 12.5 kB / 0.9559 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of SimCode: time 6.71e-07/0.005664, allocations: 0 / 0.9559 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of Templates: time 0.001511/0.007176, allocations: 0.8019 MB / 0.9567 GB, free: 13.57 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 6.204619253985584]