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 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_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.001711/0.001711, allocations: 108 kB / 15.6 MB, free: 132 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.002019/0.002019, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.466/1.466, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.047/3.047, allocations: 472.7 MB / 0.7452 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001424, allocations: 63.17 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4224, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002627/0.4251, allocations: 0.8294 MB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001583/0.4253, allocations: 39.78 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.746e-05/0.4254, allocations: 4 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.402e-05/0.4255, allocations: 11.86 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.121e-05/0.4256, allocations: 7.875 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.905e-05/0.4256, allocations: 19.98 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.4257, allocations: 59.84 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.4259, allocations: 43.97 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.168e-05/0.4259, allocations: 23.86 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.425e-05/0.426, allocations: 35.78 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.426, allocations: 8 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.4261, allocations: 4 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.4261, allocations: 15.92 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.4261, allocations: 35.75 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.4263, allocations: 72.05 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.4263, allocations: 0 / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4263, allocations: 0 / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.4263, allocations: 0 / 1.069 GB, free: 9.148 MB / 0.8262 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.0004518/0.4267, allocations: 381.6 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.4268, allocations: 8.031 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.4268, allocations: 8.844 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.427, allocations: 200.1 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.4271, allocations: 12.38 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.4271, allocations: 4.375 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.4272, allocations: 89.83 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.4273, allocations: 192 / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.4273, allocations: 3.938 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4273, allocations: 7.938 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.382e-05/0.4274, allocations: 43.86 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.4279, allocations: 436.5 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.874e-05/0.428, allocations: 41.28 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.428, allocations: 17.84 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.428, allocations: 8 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.4281, allocations: 30.56 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 3.948e-06/0.4281, allocations: 3.984 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001735/0.4282, allocations: 57.47 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.4283, allocations: 81.11 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.4284, allocations: 160.7 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.4285, allocations: 33.95 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.4286, allocations: 104 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.746e-06/0.4286, allocations: 11.84 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.4286, allocations: 13.72 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4287, allocations: 318.8 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.4287, allocations: 8 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.158e-05/0.4288, allocations: 17.72 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.498e-05/0.4288, allocations: 29.72 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.4288, allocations: 0 / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.481e-05/0.4289, allocations: 57.53 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.429, allocations: 4 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.429, allocations: 7.938 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.429, allocations: 0 / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.08e-05/0.429, allocations: 4 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4291, allocations: 0 / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.234e-05/0.4291, allocations: 15.91 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.4291, allocations: 0 / 1.072 GB, free: 6.715 MB / 0.8262 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.755e-05/0.4292, allocations: 120.1 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.4292, allocations: 7.906 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.4293, allocations: 19.75 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.4293, allocations: 0 / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4293, allocations: 0 / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.4293, allocations: 8 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/0.4297, allocations: 474.8 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4297, allocations: 7.938 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.4297, allocations: 3.984 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.4297, allocations: 4 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.4298, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4298, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4298, allocations: 3.984 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.758e-05/0.4299, allocations: 81.84 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.4299, allocations: 93 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.4299, allocations: 0 / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.43, allocations: 4 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.43, allocations: 3.938 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.43, allocations: 0 / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.255e-05/0.4301, allocations: 121.7 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4301, allocations: 4.031 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001823/0.4303, allocations: 11.91 kB / 1.072 GB, free: 5.652 MB / 0.8262 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.0001293/0.4304, allocations: 101.1 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.647e-05/0.4305, allocations: 16 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.4305, allocations: 0 / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.49e-05/0.4305, allocations: 11.94 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.4307, allocations: 11.94 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.431, allocations: 163 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.4313, allocations: 0.6924 MB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.4313, allocations: 8.422 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.4313, allocations: 11.44 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4313, allocations: 0 / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of Templates: time 0.002441/0.4338, allocations: 448.6 kB / 1.074 GB, free: 4.141 MB / 0.8262 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/jenkins/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