Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008896/0.0008895, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009823/0.0009824, allocations: 186.5 kB / 16.92 MB, free: 6.688 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.269/1.269, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.477/2.477, allocations: 443.2 MB / 0.7181 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.000301, allocations: 10.22 kB / 0.8801 GB, free: 42.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2457, allocations: 155.2 MB / 1.032 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.0009645/0.2467, allocations: 0.5423 MB / 1.032 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 9.513e-05/0.2468, allocations: 39.78 kB / 1.032 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.2468, allocations: 0 / 1.032 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.2469, allocations: 7.922 kB / 1.032 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.326e-05/0.2469, allocations: 4 kB / 1.032 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.16e-05/0.247, allocations: 19.92 kB / 1.032 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.08e-05/0.2471, allocations: 55.86 kB / 1.032 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.2472, allocations: 47.94 kB / 1.032 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.705e-05/0.2473, allocations: 15.86 kB / 1.032 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.536e-05/0.2473, allocations: 19.86 kB / 1.032 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.2473, allocations: 8 kB / 1.032 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-06/0.2473, allocations: 0 / 1.032 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.2474, allocations: 11.88 kB / 1.032 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.2474, allocations: 49.52 kB / 1.032 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.314e-05/0.2475, allocations: 56.09 kB / 1.032 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2475, allocations: 0 / 1.032 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2475, allocations: 0 / 1.032 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.2475, allocations: 0 / 1.032 GB, free: 3.887 MB / 0.7794 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.0003372/0.2479, allocations: 367.2 kB / 1.033 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.2479, allocations: 19.97 kB / 1.033 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.2479, allocations: 8.844 kB / 1.033 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.2481, allocations: 184.2 kB / 1.033 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.2481, allocations: 4.375 kB / 1.033 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.2482, allocations: 8.375 kB / 1.033 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.2483, allocations: 102.1 kB / 1.033 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.2483, allocations: 192 / 1.033 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2483, allocations: 7.875 kB / 1.033 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2484, allocations: 8 kB / 1.033 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.02e-05/0.2484, allocations: 39.92 kB / 1.033 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.2489, allocations: 428.6 kB / 1.034 GB, free: 2.582 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.829e-05/0.2489, allocations: 45.25 kB / 1.034 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.249, allocations: 17.77 kB / 1.034 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.249, allocations: 4 kB / 1.034 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.249, allocations: 34.56 kB / 1.034 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.249, allocations: 0 / 1.034 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000151/0.2492, allocations: 53.7 kB / 1.034 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.2492, allocations: 85.14 kB / 1.034 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.2494, allocations: 165 kB / 1.034 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.2494, allocations: 29.7 kB / 1.034 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.2494, allocations: 104 kB / 1.034 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.2494, allocations: 3.906 kB / 1.034 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.2495, allocations: 17.7 kB / 1.034 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.2496, allocations: 318.8 kB / 1.034 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.2496, allocations: 4 kB / 1.034 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.311e-05/0.2496, allocations: 25.7 kB / 1.034 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.472e-05/0.2497, allocations: 25.66 kB / 1.034 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2497, allocations: 0 / 1.034 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.573e-05/0.2497, allocations: 61.53 kB / 1.035 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.2498, allocations: 8 kB / 1.035 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2498, allocations: 3.938 kB / 1.035 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.2498, allocations: 4.062 kB / 1.035 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.202e-05/0.2498, allocations: 11.94 kB / 1.035 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.2498, allocations: 0 / 1.035 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.771e-05/0.2499, allocations: 7.844 kB / 1.035 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2499, allocations: 4 kB / 1.035 GB, free: 1.461 MB / 0.7794 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 6.425e-05/0.25, allocations: 115.8 kB / 1.035 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.25, allocations: 7.906 kB / 1.035 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.25, allocations: 19.8 kB / 1.035 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.25, allocations: 0 / 1.035 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2501, allocations: 8 kB / 1.035 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.2501, allocations: 0 / 1.035 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.2504, allocations: 466.8 kB / 1.035 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2504, allocations: 0 / 1.035 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.2504, allocations: 4 kB / 1.035 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2504, allocations: 0 / 1.035 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-06/0.2504, allocations: 0 / 1.035 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2504, allocations: 8 kB / 1.035 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2504, allocations: 3.938 kB / 1.035 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.28e-05/0.2505, allocations: 85.83 kB / 1.035 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.2506, allocations: 89.08 kB / 1.035 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.2506, allocations: 4 kB / 1.035 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.856e-05/0.2506, allocations: 0 / 1.035 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.2506, allocations: 4.031 kB / 1.035 GB, free: 0.5508 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.2506, allocations: 0 / 1.035 GB, free: 0.5508 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.729e-05/0.2507, allocations: 124.9 kB / 1.035 GB, free: 440 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2507, allocations: 0 / 1.035 GB, free: 440 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001773/0.2509, allocations: 11.91 kB / 1.035 GB, free: 428 kB / 0.7794 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 9.218e-05/0.251, allocations: 95.25 kB / 1.036 GB, free: 320 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.578e-05/0.2511, allocations: 19.94 kB / 1.036 GB, free: 300 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2511, allocations: 4.125 kB / 1.036 GB, free: 296 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.2511, allocations: 7.984 kB / 1.036 GB, free: 288 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.2513, allocations: 11.94 kB / 1.036 GB, free: 276 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.2515, allocations: 210.3 kB / 1.036 GB, free: 16 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.2517, allocations: 0.6965 MB / 1.037 GB, free: 15.29 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.2518, allocations: 11.44 kB / 1.037 GB, free: 15.29 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.2518, allocations: 0 / 1.037 GB, free: 15.29 MB / 0.795 GB Notification: Performance of Templates: time 0.001813/0.2536, allocations: 0.8364 MB / 1.037 GB, free: 14.45 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches