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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 249.9 MB, free: 3.215 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.921/2.921, allocations: 476.7 MB / 0.7634 GB, free: 15.28 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,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 0.002121/0.002121, allocations: 67.91 kB / 1.108 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147/1.149, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00331/1.152, allocations: 0.8398 MB / 1.273 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001594/1.152, allocations: 45.47 kB / 1.273 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.862e-05/1.153, allocations: 1.031 kB / 1.273 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.742e-05/1.153, allocations: 8.953 kB / 1.273 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/1.153, allocations: 6.484 kB / 1.273 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.893e-05/1.153, allocations: 20.16 kB / 1.273 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001873/1.153, allocations: 63.2 kB / 1.273 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/1.153, allocations: 43.22 kB / 1.273 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.535e-05/1.153, allocations: 27.19 kB / 1.273 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.823e-05/1.153, allocations: 30.3 kB / 1.273 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/1.153, allocations: 5.531 kB / 1.273 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.216e-05/1.153, allocations: 6.125 kB / 1.273 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/1.153, allocations: 16.62 kB / 1.273 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/1.154, allocations: 32.34 kB / 1.274 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002174/1.154, allocations: 81.75 kB / 1.274 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.154, allocations: 0 / 1.274 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.364e-06/1.154, allocations: 0.8438 kB / 1.274 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.664e-05/1.154, allocations: 0.5625 kB / 1.274 GB, free: 7.152 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.0005628/1.154, allocations: 377 kB / 1.274 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/1.154, allocations: 9.062 kB / 1.274 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/1.154, allocations: 13.28 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/1.155, allocations: 192.8 kB / 1.274 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/1.155, allocations: 11.41 kB / 1.274 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/1.155, allocations: 5.625 kB / 1.274 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/1.155, allocations: 92.88 kB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/1.155, allocations: 0.8438 kB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/1.155, allocations: 4.656 kB / 1.274 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/1.155, allocations: 2.188 kB / 1.274 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/1.155, allocations: 40.25 kB / 1.274 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007527/1.156, allocations: 437.8 kB / 1.275 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.221e-05/1.156, allocations: 47.5 kB / 1.275 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.27e-05/1.156, allocations: 26.28 kB / 1.275 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.886e-06/1.156, allocations: 0.875 kB / 1.275 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/1.156, allocations: 32.47 kB / 1.275 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.843e-06/1.156, allocations: 0 / 1.275 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002719/1.156, allocations: 57.02 kB / 1.275 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/1.156, allocations: 78.02 kB / 1.275 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/1.157, allocations: 159.1 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/1.157, allocations: 30.42 kB / 1.275 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/1.157, allocations: 108 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/1.157, allocations: 8.078 kB / 1.275 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/1.157, allocations: 17.94 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.538e-05/1.157, allocations: 317.4 kB / 1.276 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.246e-05/1.157, allocations: 6.891 kB / 1.276 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.662e-05/1.157, allocations: 22.75 kB / 1.276 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.871e-05/1.157, allocations: 30.59 kB / 1.276 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.157, allocations: 0 / 1.276 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001422/1.157, allocations: 63.81 kB / 1.276 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.157, allocations: 6.062 kB / 1.276 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/1.157, allocations: 3.938 kB / 1.276 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/1.157, allocations: 0.9375 kB / 1.276 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/1.157, allocations: 5.5 kB / 1.276 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/1.157, allocations: 4.938 kB / 1.276 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/1.157, allocations: 10.41 kB / 1.276 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/1.157, allocations: 2 kB / 1.276 GB, free: 5.07 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 8.643e-05/1.157, allocations: 113.1 kB / 1.276 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-05/1.158, allocations: 12.41 kB / 1.276 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/1.158, allocations: 18.36 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/1.158, allocations: 1.094 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.158, allocations: 0 / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.158, allocations: 1.094 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/1.158, allocations: 474 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/1.158, allocations: 0.9062 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/1.158, allocations: 3.5 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/1.158, allocations: 3.984 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/1.158, allocations: 6.109 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.158, allocations: 4.812 kB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.158, allocations: 0.8125 kB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/1.158, allocations: 81.77 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/1.158, allocations: 90.17 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/1.158, allocations: 1.812 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.67e-05/1.158, allocations: 0 / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/1.158, allocations: 3.078 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/1.158, allocations: 0.9688 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001304/1.159, allocations: 125.5 kB / 1.277 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.159, allocations: 0 / 1.277 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003375/1.159, allocations: 6.938 kB / 1.277 GB, free: 4.152 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.0001453/1.159, allocations: 100.4 kB / 1.277 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001411/1.159, allocations: 15.88 kB / 1.277 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.159, allocations: 0 / 1.277 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/1.159, allocations: 12.16 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/1.159, allocations: 18.09 kB / 1.277 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/1.16, allocations: 189.5 kB / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/1.16, allocations: 0.6931 MB / 1.278 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/1.16, allocations: 11.88 kB / 1.278 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/1.16, allocations: 0 / 1.278 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of Templates: time 0.004349/1.164, allocations: 0.8621 MB / 1.278 GB, free: 3.074 MB / 0.9981 GB [Timeout remaining time 299] 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/jenkins1/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