Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 114.6 kB / 16.42 MB, free: 6.492 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.001241/0.001241, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.539/1.539, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.589/2.589, allocations: 437 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002717/0.002718, allocations: 68.12 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262/1.265, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002913/1.268, allocations: 0.822 MB / 1.168 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001694/1.268, allocations: 51.78 kB / 1.168 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.375e-05/1.268, allocations: 0 / 1.168 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.034e-05/1.268, allocations: 7.875 kB / 1.168 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/1.268, allocations: 11.86 kB / 1.168 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.89e-05/1.268, allocations: 19.98 kB / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/1.268, allocations: 63.83 kB / 1.168 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/1.269, allocations: 39.98 kB / 1.168 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/1.269, allocations: 31.8 kB / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/1.269, allocations: 31.84 kB / 1.168 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/1.269, allocations: 4 kB / 1.168 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/1.269, allocations: 8 kB / 1.168 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/1.269, allocations: 11.94 kB / 1.168 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.594e-05/1.269, allocations: 39.8 kB / 1.168 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/1.269, allocations: 71.64 kB / 1.168 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.269, allocations: 4 kB / 1.169 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.194e-06/1.269, allocations: 0 / 1.169 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.228e-05/1.269, allocations: 3.938 kB / 1.169 GB, free: 2.656 MB / 0.8887 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.0005809/1.27, allocations: 384.8 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.27, allocations: 16.56 kB / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/1.27, allocations: 12.84 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/1.27, allocations: 184.2 kB / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/1.27, allocations: 8.375 kB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/1.27, allocations: 8.375 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/1.27, allocations: 102.3 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.27, allocations: 192 / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/1.271, allocations: 7.922 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/1.271, allocations: 4 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.68e-05/1.271, allocations: 39.92 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008514/1.271, allocations: 436.6 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.742e-05/1.272, allocations: 41.31 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.726e-05/1.272, allocations: 17.72 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/1.272, allocations: 3.984 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/1.272, allocations: 42.56 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/1.272, allocations: 0 / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0004478/1.272, allocations: 53.48 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/1.272, allocations: 77.11 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/1.273, allocations: 160.9 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/1.273, allocations: 25.7 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/1.273, allocations: 108.2 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/1.273, allocations: 7.906 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/1.273, allocations: 13.72 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.273, allocations: 322.8 kB / 1.17 GB, free: 396 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/1.273, allocations: 4 kB / 1.17 GB, free: 392 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.714e-05/1.273, allocations: 21.7 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.562e-05/1.273, allocations: 29.66 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.273, allocations: 0 / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000111/1.273, allocations: 57.61 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.273, allocations: 7.938 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.273, allocations: 3.984 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/1.273, allocations: 3.938 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/1.273, allocations: 11.94 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/1.273, allocations: 0 / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/1.273, allocations: 7.906 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/1.273, allocations: 4.062 kB / 1.171 GB, free: 224 kB / 0.8887 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.825e-05/1.274, allocations: 113.8 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/1.274, allocations: 7.906 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/1.274, allocations: 23.73 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.274, allocations: 0 / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.274, allocations: 0 / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/1.274, allocations: 85.02 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/1.274, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/1.274, allocations: 3.984 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/1.274, allocations: 4 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001379/1.274, allocations: 196.2 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002246/1.274, allocations: 301.9 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.298e-05/1.274, allocations: 4.094 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001217/1.275, allocations: 121.7 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of Backend: time 4.51e-07/1.275, allocations: 0 / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004908/1.275, allocations: 96.83 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007309/1.276, allocations: 0.6005 MB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of Templates: time 0.00316/1.279, allocations: 0.5318 MB / 1.173 GB, free: 14.03 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches