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.0009259/0.0009258, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001059/0.001059, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 240 MB, free: 5.316 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.554/2.554, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003345, allocations: 15.98 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8183/0.8187, allocations: 142.4 MB / 0.9544 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2402/1.059, allocations: 150.1 MB / 1.101 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002901/1.062, allocations: 1.481 MB / 1.102 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/1.062, allocations: 7.938 kB / 1.102 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004288/1.063, allocations: 103.2 kB / 1.103 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001101/1.064, allocations: 350.3 kB / 1.103 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001762/1.066, allocations: 0.5611 MB / 1.103 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009618/1.067, allocations: 0.8383 MB / 1.104 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/1.067, allocations: 192.4 kB / 1.104 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005807/1.067, allocations: 274.9 kB / 1.105 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/1.068, allocations: 215.1 kB / 1.105 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/1.068, allocations: 16 kB / 1.105 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/1.069, allocations: 0.5378 MB / 1.105 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/1.069, allocations: 103.7 kB / 1.106 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.683e-05/1.069, allocations: 77.58 kB / 1.106 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000646/1.07, allocations: 467 kB / 1.106 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.07, allocations: 4 kB / 1.106 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.484e-06/1.07, allocations: 0 / 1.106 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.038e-05/1.07, allocations: 4 kB / 1.106 GB, free: 3.77 MB / 0.8575 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.001159/1.071, allocations: 0.6351 MB / 1.107 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.071, allocations: 8.031 kB / 1.107 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005109/1.072, allocations: 79.56 kB / 1.107 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/1.072, allocations: 294.1 kB / 1.107 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/1.072, allocations: 20.56 kB / 1.107 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/1.072, allocations: 28 kB / 1.107 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006612/1.073, allocations: 352.1 kB / 1.107 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/1.073, allocations: 0 / 1.107 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/1.073, allocations: 11.95 kB / 1.107 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.073, allocations: 4 kB / 1.107 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/1.074, allocations: 317.5 kB / 1.108 GB, free: 1.941 MB / 0.8575 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.001602/1.075, allocations: 1.079 MB / 1.109 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008462/1.076, allocations: 331.7 kB / 1.109 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/1.077, allocations: 153.8 kB / 1.109 GB, free: 300 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006689/1.077, allocations: 408.3 kB / 1.11 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/1.077, allocations: 38.56 kB / 1.11 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/1.077, allocations: 0 / 1.11 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001158/1.079, allocations: 459.2 kB / 1.11 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/1.079, allocations: 55.41 kB / 1.11 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/1.079, allocations: 266.9 kB / 1.11 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/1.079, allocations: 33.7 kB / 1.111 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/1.079, allocations: 168.2 kB / 1.111 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/1.079, allocations: 63.05 kB / 1.111 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/1.079, allocations: 4 kB / 1.111 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.079, allocations: 334.8 kB / 1.111 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/1.08, allocations: 131.8 kB / 1.111 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/1.08, allocations: 177.8 kB / 1.111 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/1.08, allocations: 131.9 kB / 1.111 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.08, allocations: 4 kB / 1.111 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007421/1.081, allocations: 354.5 kB / 1.112 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.081, allocations: 4 kB / 1.112 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/1.081, allocations: 7.953 kB / 1.112 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/1.081, allocations: 4.125 kB / 1.112 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/1.081, allocations: 67.89 kB / 1.112 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/1.081, allocations: 0 / 1.112 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/1.082, allocations: 51.81 kB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/1.082, allocations: 8 kB / 1.112 GB, free: 13.42 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000157/1.082, allocations: 157.7 kB / 1.112 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/1.082, allocations: 31.62 kB / 1.112 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007769/1.083, allocations: 351.6 kB / 1.112 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/1.083, allocations: 0 / 1.112 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.083, allocations: 4 kB / 1.112 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.088e-06/1.083, allocations: 7.938 kB / 1.112 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/1.084, allocations: 0.9573 MB / 1.113 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.084, allocations: 4.141 kB / 1.113 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/1.084, allocations: 59.95 kB / 1.113 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/1.085, allocations: 0 / 1.113 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/1.085, allocations: 8 kB / 1.113 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/1.085, allocations: 4 kB / 1.113 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.085, allocations: 3.938 kB / 1.113 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/1.086, allocations: 0.5996 MB / 1.114 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/1.086, allocations: 128.7 kB / 1.114 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/1.086, allocations: 12.06 kB / 1.114 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/1.086, allocations: 35.91 kB / 1.114 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.908e-05/1.086, allocations: 23.91 kB / 1.114 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/1.086, allocations: 8 kB / 1.114 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001828/1.086, allocations: 194 kB / 1.114 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.695e-06/1.086, allocations: 0 / 1.114 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004829/1.087, allocations: 111.8 kB / 1.115 GB, free: 10.57 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005496/1.087, allocations: 212.3 kB / 1.115 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000722/1.088, allocations: 290 kB / 1.115 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.088, allocations: 0 / 1.115 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003714/1.089, allocations: 152.2 kB / 1.115 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007666/1.089, allocations: 122.2 kB / 1.115 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/1.091, allocations: 0.7111 MB / 1.116 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/1.091, allocations: 0.7797 MB / 1.117 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000274/1.091, allocations: 66.23 kB / 1.117 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.29e-05/1.091, allocations: 27.44 kB / 1.117 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/1.091, allocations: 0 / 1.117 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of Templates: time 0.01147/1.103, allocations: 5.4 MB / 1.122 GB, free: 2.848 MB / 0.8731 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches