Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001612/0.001612, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 390.3 MB / 0.6655 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 66.2 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2826, allocations: 140.4 MB / 0.9511 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002131/0.2848, allocations: 0.8287 MB / 0.9519 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001343/0.2849, allocations: 39.78 kB / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.285, allocations: 4 kB / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4e-05/0.285, allocations: 11.86 kB / 0.952 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.798e-05/0.2851, allocations: 3.938 kB / 0.952 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.373e-05/0.2852, allocations: 19.98 kB / 0.952 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.2853, allocations: 71.77 kB / 0.9521 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.2855, allocations: 31.98 kB / 0.9521 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.651e-05/0.2855, allocations: 27.86 kB / 0.9521 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.977e-05/0.2856, allocations: 35.78 kB / 0.9522 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.2856, allocations: 4 kB / 0.9522 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.2856, allocations: 8 kB / 0.9522 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.2857, allocations: 15.98 kB / 0.9522 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.2857, allocations: 31.75 kB / 0.9522 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.2858, allocations: 75.64 kB / 0.9523 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2858, allocations: 3.984 kB / 0.9523 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2858, allocations: 0 / 0.9523 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2858, allocations: 0 / 0.9523 GB, free: 6.797 MB / 0.7325 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.0004077/0.2862, allocations: 383.2 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2863, allocations: 8.031 kB / 0.9527 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.2863, allocations: 12.84 kB / 0.9527 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.2865, allocations: 196.1 kB / 0.9529 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.2866, allocations: 4.375 kB / 0.9529 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.2866, allocations: 8.375 kB / 0.9529 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.2867, allocations: 89.58 kB / 0.953 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2868, allocations: 192 / 0.953 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.2868, allocations: 15.92 kB / 0.953 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.2868, allocations: 4 kB / 0.953 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.2869, allocations: 43.86 kB / 0.953 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.2874, allocations: 428.6 kB / 0.9534 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.671e-05/0.2875, allocations: 41.28 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.119e-05/0.2875, allocations: 17.84 kB / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.2875, allocations: 4 kB / 0.9535 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.2876, allocations: 34.56 kB / 0.9535 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.2876, allocations: 3.938 kB / 0.9535 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001724/0.2877, allocations: 57.47 kB / 0.9536 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.2878, allocations: 85.36 kB / 0.9537 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.288, allocations: 160 kB / 0.9538 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.288, allocations: 33.7 kB / 0.9539 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.288, allocations: 99.98 kB / 0.954 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.083e-05/0.2881, allocations: 7.891 kB / 0.954 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.2881, allocations: 17.72 kB / 0.954 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2882, allocations: 318.8 kB / 0.9543 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.2882, allocations: 11.94 kB / 0.9543 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.208e-05/0.2883, allocations: 21.72 kB / 0.9543 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.678e-05/0.2883, allocations: 25.72 kB / 0.9543 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2883, allocations: 0 / 0.9543 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.019e-05/0.2884, allocations: 61.53 kB / 0.9544 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.2884, allocations: 4 kB / 0.9544 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2884, allocations: 7.938 kB / 0.9544 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2885, allocations: 4.062 kB / 0.9544 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.212e-05/0.2885, allocations: 4 kB / 0.9544 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.2885, allocations: 0 / 0.9544 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.094e-05/0.2886, allocations: 11.84 kB / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.2886, allocations: 0 / 0.9544 GB, free: 4.355 MB / 0.7325 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.977e-05/0.2887, allocations: 119.8 kB / 0.9545 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.2887, allocations: 7.906 kB / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.2887, allocations: 15.81 kB / 0.9546 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2887, allocations: 0 / 0.9546 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2888, allocations: 4 kB / 0.9546 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2888, allocations: 4 kB / 0.9546 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.2891, allocations: 466.8 kB / 0.955 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2892, allocations: 4 kB / 0.955 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.2892, allocations: 7.922 kB / 0.955 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2892, allocations: 4 kB / 0.955 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.2892, allocations: 0 / 0.955 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2892, allocations: 4.062 kB / 0.955 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2892, allocations: 0 / 0.955 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.123e-05/0.2893, allocations: 81.78 kB / 0.9551 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.2894, allocations: 92.94 kB / 0.9552 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.2894, allocations: 0 / 0.9552 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.318e-05/0.2894, allocations: 4 kB / 0.9552 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.2895, allocations: 4.031 kB / 0.9552 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.2895, allocations: 0 / 0.9552 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001029/0.2896, allocations: 126.5 kB / 0.9553 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2896, allocations: 3.938 kB / 0.9553 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001918/0.2898, allocations: 8 kB / 0.9553 GB, free: 3.309 MB / 0.7325 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.0001233/0.2899, allocations: 95.78 kB / 0.9554 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.978e-05/0.29, allocations: 19.98 kB / 0.9555 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.29, allocations: 128 / 0.9555 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.348e-05/0.29, allocations: 11.94 kB / 0.9555 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.2902, allocations: 11.94 kB / 0.9555 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.2905, allocations: 166.8 kB / 0.9556 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.2907, allocations: 0.6922 MB / 0.9563 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.552e-05/0.2908, allocations: 16.62 kB / 0.9563 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.2908, allocations: 11.44 kB / 0.9563 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2908, allocations: 0 / 0.9563 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of Templates: time 0.00251/0.2933, allocations: 448.5 kB / 0.9568 GB, free: 1.781 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches