Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_9_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_9_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.006143/0.006143, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001369/0.001369, allocations: 191.6 kB / 16.79 MB, free: 5.809 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.411/1.411, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.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.418/2.418, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 63.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7244/0.726, allocations: 140.3 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1845/0.9105, allocations: 163 MB / 1.109 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002912/0.9135, allocations: 1.573 MB / 1.11 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003589/0.9138, allocations: 11.94 kB / 1.11 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005132/0.9144, allocations: 111.2 kB / 1.11 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.9156, allocations: 434.2 kB / 1.111 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.9174, allocations: 0.6967 MB / 1.112 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009006/0.9184, allocations: 0.9944 MB / 1.113 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003392/0.9187, allocations: 222.1 kB / 1.113 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004795/0.9192, allocations: 282.9 kB / 1.113 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.9195, allocations: 235 kB / 1.113 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.9196, allocations: 16 kB / 1.113 GB, free: 10 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.9212, allocations: 0.9859 MB / 1.114 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.9213, allocations: 107.7 kB / 1.114 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.9215, allocations: 151.2 kB / 1.114 GB, free: 8.762 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006827/0.9222, allocations: 0.5108 MB / 1.115 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.9222, allocations: 0 / 1.115 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.777e-06/0.9222, allocations: 0 / 1.115 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.9222, allocations: 3.938 kB / 1.115 GB, free: 8.246 MB / 0.8731 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.001233/0.9234, allocations: 0.6702 MB / 1.116 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.9235, allocations: 11.97 kB / 1.116 GB, free: 7.516 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005264/0.924, allocations: 87.41 kB / 1.116 GB, free: 7.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.9244, allocations: 297.9 kB / 1.116 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.9244, allocations: 20.56 kB / 1.116 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.9245, allocations: 27.94 kB / 1.116 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006869/0.9252, allocations: 336.2 kB / 1.116 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.9252, allocations: 0 / 1.116 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.9253, allocations: 4 kB / 1.116 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.9253, allocations: 11.94 kB / 1.116 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007022/0.926, allocations: 285.5 kB / 1.117 GB, free: 6.41 MB / 0.8731 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.001735/0.9277, allocations: 1.075 MB / 1.118 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000899/0.9286, allocations: 319.6 kB / 1.118 GB, free: 4.93 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.929, allocations: 136.8 kB / 1.118 GB, free: 4.793 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007111/0.9297, allocations: 396.3 kB / 1.118 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.9297, allocations: 38.56 kB / 1.119 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/0.9297, allocations: 0 / 1.119 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001208/0.9309, allocations: 403.6 kB / 1.119 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.931, allocations: 63.33 kB / 1.119 GB, free: 3.812 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.9313, allocations: 263 kB / 1.119 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.9313, allocations: 29.7 kB / 1.119 GB, free: 3.508 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.9314, allocations: 172.1 kB / 1.119 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.271e-05/0.9315, allocations: 63.09 kB / 1.119 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.999e-05/0.9316, allocations: 49.7 kB / 1.12 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.9318, allocations: 334.8 kB / 1.12 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.9321, allocations: 103.9 kB / 1.12 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.9324, allocations: 171.2 kB / 1.12 GB, free: 2.594 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006009/0.933, allocations: 262.6 kB / 1.12 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.933, allocations: 0 / 1.12 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007226/0.9338, allocations: 317.1 kB / 1.121 GB, free: 2.004 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.9338, allocations: 7.984 kB / 1.121 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.9338, allocations: 4 kB / 1.121 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.9338, allocations: 7.875 kB / 1.121 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.9341, allocations: 51.97 kB / 1.121 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.9341, allocations: 4.047 kB / 1.121 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.9344, allocations: 51.91 kB / 1.121 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.9344, allocations: 12 kB / 1.121 GB, free: 1.867 MB / 0.8731 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.0002247/0.9347, allocations: 149.8 kB / 1.121 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.9347, allocations: 31.56 kB / 1.121 GB, free: 1.68 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008204/0.9356, allocations: 325.8 kB / 1.121 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.9356, allocations: 7.938 kB / 1.121 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.9356, allocations: 0 / 1.121 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.9356, allocations: 3.984 kB / 1.121 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.9372, allocations: 0.9329 MB / 1.122 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.9372, allocations: 0 / 1.122 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.9374, allocations: 47.95 kB / 1.122 GB, free: 268 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.9375, allocations: 4 kB / 1.122 GB, free: 264 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.9375, allocations: 8 kB / 1.122 GB, free: 256 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.9375, allocations: 3.938 kB / 1.122 GB, free: 252 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.9375, allocations: 4 kB / 1.122 GB, free: 248 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.9386, allocations: 0.5587 MB / 1.123 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.9387, allocations: 128.7 kB / 1.123 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.9388, allocations: 8 kB / 1.123 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.939, allocations: 28.03 kB / 1.123 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.9391, allocations: 19.92 kB / 1.123 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.9392, allocations: 11.98 kB / 1.123 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001767/0.9394, allocations: 190 kB / 1.123 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9394, allocations: 0 / 1.123 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004807/0.9398, allocations: 111.8 kB / 1.123 GB, free: 15.14 MB / 0.8887 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.0005347/0.9404, allocations: 205.2 kB / 1.123 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007089/0.9411, allocations: 253.3 kB / 1.124 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.9411, allocations: 0 / 1.124 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003487/0.9415, allocations: 131.8 kB / 1.124 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007782/0.9423, allocations: 137 kB / 1.124 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.9435, allocations: 0.728 MB / 1.125 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.944, allocations: 0.7719 MB / 1.125 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.9441, allocations: 31.44 kB / 1.125 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of SimCode: time 2.71e-07/0.9441, allocations: 0 / 1.125 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of Templates: time 0.00823/0.9523, allocations: 5.11 MB / 1.13 GB, free: 7.758 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches