Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001569/0.001569, allocations: 113.5 kB / 17.08 MB, free: 5.957 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.001592/0.001593, allocations: 192.7 kB / 20.02 MB, free: 3.039 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.43/1.43, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.089/3.089, allocations: 489.3 MB / 0.7687 GB, free: 3.742 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002869/0.002869, allocations: 63.89 kB / 1.103 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.164/1.167, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002255/1.17, allocations: 0.8252 MB / 1.263 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001178/1.17, allocations: 40.39 kB / 1.263 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/1.17, allocations: 6 kB / 1.263 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.842e-05/1.17, allocations: 9.844 kB / 1.263 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.797e-05/1.17, allocations: 9.172 kB / 1.263 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.901e-05/1.17, allocations: 20.53 kB / 1.263 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/1.17, allocations: 59.11 kB / 1.264 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/1.17, allocations: 41.59 kB / 1.264 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.618e-05/1.17, allocations: 29.58 kB / 1.264 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/1.17, allocations: 30.5 kB / 1.264 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/1.17, allocations: 5.969 kB / 1.264 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/1.171, allocations: 6.375 kB / 1.264 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.799e-05/1.171, allocations: 12.27 kB / 1.264 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/1.171, allocations: 37.03 kB / 1.264 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/1.171, allocations: 77.27 kB / 1.264 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.171, allocations: 0.8438 kB / 1.264 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.924e-06/1.171, allocations: 4 kB / 1.264 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.972e-06/1.171, allocations: 0 / 1.264 GB, free: 7.258 MB / 0.9981 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.0004304/1.171, allocations: 380.4 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.171, allocations: 10.78 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/1.171, allocations: 13.2 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/1.172, allocations: 192.1 kB / 1.264 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/1.172, allocations: 7.375 kB / 1.264 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/1.172, allocations: 5.219 kB / 1.264 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/1.172, allocations: 98.41 kB / 1.264 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/1.172, allocations: 1.641 kB / 1.264 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/1.172, allocations: 5 kB / 1.264 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/1.172, allocations: 5.406 kB / 1.264 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/1.172, allocations: 40.28 kB / 1.264 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/1.173, allocations: 429.9 kB / 1.265 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.969e-05/1.173, allocations: 49.38 kB / 1.265 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.307e-05/1.173, allocations: 21.2 kB / 1.265 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/1.173, allocations: 0.8125 kB / 1.265 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/1.173, allocations: 31.88 kB / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/1.173, allocations: 4.781 kB / 1.265 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001859/1.173, allocations: 60.48 kB / 1.265 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/1.173, allocations: 78.75 kB / 1.265 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/1.173, allocations: 164.1 kB / 1.265 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/1.173, allocations: 26.22 kB / 1.265 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/1.173, allocations: 109 kB / 1.265 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/1.173, allocations: 12.72 kB / 1.265 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/1.173, allocations: 17.91 kB / 1.265 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.693e-05/1.173, allocations: 320.7 kB / 1.266 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.258e-05/1.173, allocations: 7.688 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/1.173, allocations: 19.62 kB / 1.266 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.494e-05/1.173, allocations: 27.52 kB / 1.266 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.173, allocations: 0 / 1.266 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.724e-05/1.174, allocations: 62.31 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.174, allocations: 4.875 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/1.174, allocations: 4.688 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.174, allocations: 1.516 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/1.174, allocations: 6.672 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/1.174, allocations: 0.8438 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/1.174, allocations: 10.08 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/1.174, allocations: 6.203 kB / 1.266 GB, free: 5.164 MB / 0.9981 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 7.398e-05/1.174, allocations: 121.4 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/1.174, allocations: 8.734 kB / 1.266 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/1.174, allocations: 15.89 kB / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.174, allocations: 1.453 kB / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.174, allocations: 0.9375 kB / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/1.174, allocations: 3.938 kB / 1.266 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/1.174, allocations: 471.5 kB / 1.266 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.174, allocations: 8.75 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/1.174, allocations: 3.922 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.174, allocations: 0.8438 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/1.174, allocations: 0.8438 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/1.174, allocations: 1.391 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.174, allocations: 0.875 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.545e-05/1.175, allocations: 76.36 kB / 1.267 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/1.175, allocations: 94.3 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/1.175, allocations: 2.172 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.209e-05/1.175, allocations: 0.75 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/1.175, allocations: 5.453 kB / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/1.175, allocations: 2.062 kB / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.875e-05/1.175, allocations: 121.1 kB / 1.267 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.175, allocations: 0 / 1.267 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001973/1.175, allocations: 7.531 kB / 1.267 GB, free: 4.254 MB / 0.9981 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.0001325/1.175, allocations: 104.9 kB / 1.267 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.991e-05/1.175, allocations: 16.22 kB / 1.267 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.175, allocations: 0.6875 kB / 1.267 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.348e-05/1.175, allocations: 7.719 kB / 1.267 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/1.175, allocations: 14.08 kB / 1.267 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/1.176, allocations: 183.6 kB / 1.267 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/1.176, allocations: 0.6954 MB / 1.268 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/1.176, allocations: 11.75 kB / 1.268 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/1.176, allocations: 0 / 1.268 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of Templates: time 0.00349/1.179, allocations: 0.8746 MB / 1.269 GB, free: 3.176 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.726826976053417]