Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 115.3 kB / 15.34 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 188.8 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.041/3.041, allocations: 482.4 MB / 0.7543 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002142, allocations: 66.89 kB / 0.9233 GB, free: 29.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3792, allocations: 162.2 MB / 1.082 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002524/0.3818, allocations: 0.8834 MB / 1.083 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001298/0.3819, allocations: 39.78 kB / 1.083 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.637e-05/0.382, allocations: 4 kB / 1.083 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.596e-05/0.3821, allocations: 3.938 kB / 1.083 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.3822, allocations: 0 / 1.083 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.151e-05/0.3823, allocations: 19.98 kB / 1.083 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.3824, allocations: 59.8 kB / 1.083 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.3826, allocations: 47.95 kB / 1.083 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.257e-05/0.3826, allocations: 19.88 kB / 1.083 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.933e-05/0.3827, allocations: 31.84 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.3828, allocations: 12 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.3828, allocations: 4 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.3828, allocations: 11.94 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.3829, allocations: 47.66 kB / 1.083 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.383, allocations: 64.06 kB / 1.083 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.383, allocations: 0 / 1.083 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.485e-06/0.383, allocations: 0 / 1.083 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.383, allocations: 0 / 1.083 GB, free: 12.43 MB / 0.8419 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.0005183/0.3835, allocations: 383.1 kB / 1.083 GB, free: 12 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3836, allocations: 8.031 kB / 1.083 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.3836, allocations: 12.84 kB / 1.083 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.3839, allocations: 196.1 kB / 1.084 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.3839, allocations: 12.36 kB / 1.084 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.3839, allocations: 4.375 kB / 1.084 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.3841, allocations: 95.89 kB / 1.084 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3841, allocations: 192 / 1.084 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.3842, allocations: 7.938 kB / 1.084 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3842, allocations: 3.938 kB / 1.084 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.091e-05/0.3843, allocations: 43.92 kB / 1.084 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006225/0.3849, allocations: 428.6 kB / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.419e-05/0.385, allocations: 37.25 kB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.385, allocations: 33.77 kB / 1.084 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.385, allocations: 3.984 kB / 1.084 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.3851, allocations: 30.56 kB / 1.084 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.3851, allocations: 0 / 1.084 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001937/0.3853, allocations: 57.48 kB / 1.084 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.3854, allocations: 85.34 kB / 1.084 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.3855, allocations: 158.3 kB / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3856, allocations: 25.7 kB / 1.085 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.3856, allocations: 104 kB / 1.085 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.155e-05/0.3857, allocations: 7.906 kB / 1.085 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.3857, allocations: 21.61 kB / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3859, allocations: 318.8 kB / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.855e-05/0.3859, allocations: 7.984 kB / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.579e-05/0.3859, allocations: 21.72 kB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.626e-05/0.386, allocations: 29.66 kB / 1.085 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.386, allocations: 0 / 1.085 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.886e-05/0.3861, allocations: 57.62 kB / 1.085 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3861, allocations: 9.875 kB / 1.085 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.3861, allocations: 3.938 kB / 1.085 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3862, allocations: 4.062 kB / 1.085 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.56e-05/0.3862, allocations: 4 kB / 1.085 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3862, allocations: 4 kB / 1.085 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.951e-05/0.3863, allocations: 7.844 kB / 1.085 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.3863, allocations: 4 kB / 1.085 GB, free: 9.977 MB / 0.8419 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 9.235e-05/0.3864, allocations: 109.8 kB / 1.085 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.3864, allocations: 7.906 kB / 1.085 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.3865, allocations: 19.8 kB / 1.085 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3865, allocations: 0 / 1.085 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3865, allocations: 8 kB / 1.085 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3865, allocations: 0 / 1.085 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.3869, allocations: 474.7 kB / 1.086 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3869, allocations: 3.938 kB / 1.086 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.922e-05/0.387, allocations: 4 kB / 1.086 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.387, allocations: 0 / 1.086 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.387, allocations: 0 / 1.086 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.387, allocations: 4.062 kB / 1.086 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.387, allocations: 7.969 kB / 1.086 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.931e-05/0.3871, allocations: 81.69 kB / 1.086 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.3872, allocations: 93 kB / 1.086 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.3872, allocations: 4 kB / 1.086 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/0.3872, allocations: 0 / 1.086 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.3872, allocations: 4.031 kB / 1.086 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.3873, allocations: 0 / 1.086 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001062/0.3874, allocations: 121.9 kB / 1.086 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3874, allocations: 0 / 1.086 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001829/0.3876, allocations: 8 kB / 1.086 GB, free: 8.934 MB / 0.8419 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.0001551/0.3877, allocations: 95.25 kB / 1.086 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.3878, allocations: 23.92 kB / 1.086 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3878, allocations: 4.125 kB / 1.086 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.309e-05/0.3879, allocations: 8 kB / 1.086 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.388, allocations: 11.94 kB / 1.086 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.3884, allocations: 179 kB / 1.086 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.3888, allocations: 0.6963 MB / 1.087 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.002e-05/0.3888, allocations: 4.438 kB / 1.087 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.3889, allocations: 11.44 kB / 1.087 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of SimCode: time 5.91e-07/0.3889, allocations: 0 / 1.087 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of Templates: time 0.003121/0.392, allocations: 456.6 kB / 1.087 GB, free: 7.395 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches