Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001606, allocations: 108 kB / 15.6 MB, free: 128 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.001593/0.001593, allocations: 197.6 kB / 16.53 MB, free: 6.672 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.461/1.461, 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 10.1.1-maint.10.0.x/package.mo): time 2.752/2.752, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7033/0.7052, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2043/0.9096, allocations: 165.3 MB / 1.179 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003722/0.9134, allocations: 1.555 MB / 1.18 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006367/0.914, allocations: 23.75 kB / 1.18 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006675/0.9148, allocations: 143 kB / 1.18 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.9169, allocations: 465.8 kB / 1.181 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002876/0.9197, allocations: 0.7487 MB / 1.182 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001151/0.9209, allocations: 0.6942 MB / 1.182 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005088/0.9214, allocations: 270.5 kB / 1.182 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006264/0.9221, allocations: 314.8 kB / 1.183 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.9224, allocations: 223.1 kB / 1.183 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.9225, allocations: 24 kB / 1.183 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.9242, allocations: 0.8535 MB / 1.184 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.9244, allocations: 119.7 kB / 1.184 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.9246, allocations: 163.2 kB / 1.184 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.9258, allocations: 0.7286 MB / 1.185 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9258, allocations: 0 / 1.185 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9258, allocations: 0 / 1.185 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.9258, allocations: 4 kB / 1.185 GB, free: 6.305 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001246/0.9271, allocations: 0.674 MB / 1.185 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.9271, allocations: 8.031 kB / 1.185 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005383/0.9276, allocations: 91.48 kB / 1.186 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.9281, allocations: 297.9 kB / 1.186 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.9281, allocations: 20.56 kB / 1.186 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.9282, allocations: 24 kB / 1.186 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007003/0.9289, allocations: 328.2 kB / 1.186 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.9289, allocations: 0 / 1.186 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.9289, allocations: 8 kB / 1.186 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.929, allocations: 11.94 kB / 1.186 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007466/0.9297, allocations: 285.5 kB / 1.187 GB, free: 4.477 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.9316, allocations: 1.075 MB / 1.188 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009639/0.9325, allocations: 323.6 kB / 1.188 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.9329, allocations: 128.8 kB / 1.188 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007765/0.9337, allocations: 400.3 kB / 1.188 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.9338, allocations: 38.56 kB / 1.188 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/0.9338, allocations: 0 / 1.188 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001316/0.9351, allocations: 406.7 kB / 1.189 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.9351, allocations: 59.34 kB / 1.189 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.9355, allocations: 271 kB / 1.189 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.9355, allocations: 29.7 kB / 1.189 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.9357, allocations: 172.1 kB / 1.189 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.9357, allocations: 59.11 kB / 1.189 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.836e-05/0.9358, allocations: 49.61 kB / 1.189 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.936, allocations: 338.8 kB / 1.19 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.9363, allocations: 103.9 kB / 1.19 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.9367, allocations: 167.7 kB / 1.19 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006526/0.9374, allocations: 270.4 kB / 1.19 GB, free: 392 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.9374, allocations: 4 kB / 1.19 GB, free: 388 kB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007494/0.9381, allocations: 315.3 kB / 1.191 GB, free: 68 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.9382, allocations: 4 kB / 1.191 GB, free: 64 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.9382, allocations: 7.984 kB / 1.191 GB, free: 56 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.9382, allocations: 8.094 kB / 1.191 GB, free: 48 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.9385, allocations: 56 kB / 1.191 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.629e-06/0.9385, allocations: 0 / 1.191 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.9388, allocations: 47.55 kB / 1.191 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/0.9388, allocations: 15.98 kB / 1.191 GB, free: 15.93 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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 0.0001628/0.939, allocations: 145.8 kB / 1.191 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.9391, allocations: 27.72 kB / 1.191 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008511/0.9399, allocations: 323.6 kB / 1.191 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.9399, allocations: 3.938 kB / 1.191 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9399, allocations: 0 / 1.191 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.94, allocations: 4 kB / 1.191 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.9416, allocations: 0.9328 MB / 1.192 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.9416, allocations: 4 kB / 1.192 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.9419, allocations: 43.95 kB / 1.192 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.9419, allocations: 4 kB / 1.192 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.9419, allocations: 8 kB / 1.192 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.9419, allocations: 12.12 kB / 1.192 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.9419, allocations: 0 / 1.192 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.9431, allocations: 0.5603 MB / 1.193 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.9432, allocations: 128.6 kB / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.9433, allocations: 8 kB / 1.193 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.9435, allocations: 28.03 kB / 1.193 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.9436, allocations: 23.91 kB / 1.193 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.9436, allocations: 8 kB / 1.193 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000201/0.9438, allocations: 194 kB / 1.193 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9438, allocations: 0 / 1.193 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004544/0.9443, allocations: 103.8 kB / 1.193 GB, free: 13.21 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * 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.0005182/0.9448, allocations: 201 kB / 1.193 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007743/0.9456, allocations: 266.5 kB / 1.194 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.9456, allocations: 0 / 1.194 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.946, allocations: 135.8 kB / 1.194 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007624/0.9468, allocations: 136.3 kB / 1.194 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.948, allocations: 0.6073 MB / 1.194 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.9485, allocations: 0.7794 MB / 1.195 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000239/0.9488, allocations: 70.22 kB / 1.195 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.9488, allocations: 23.44 kB / 1.195 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.9488, allocations: 0 / 1.195 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of Templates: time 0.01246/0.9613, allocations: 5.941 MB / 1.201 GB, free: 5.098 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches