Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001348/0.001348, allocations: 177.3 kB / 15.94 MB, free: 228 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.545/1.545, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.879/2.879, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005056/0.000506, allocations: 8 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.09, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1751/1.265, allocations: 138.5 MB / 1.116 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003227/1.268, allocations: 1.569 MB / 1.118 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002356/1.269, allocations: 7.938 kB / 1.118 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000721/1.269, allocations: 171.2 kB / 1.118 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0009639/1.27, allocations: 351 kB / 1.118 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/1.272, allocations: 488.9 kB / 1.119 GB, free: 8.82 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0006599/1.272, allocations: 416.2 kB / 1.119 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/1.273, allocations: 200.3 kB / 1.119 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007057/1.274, allocations: 331 kB / 1.12 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/1.274, allocations: 163.3 kB / 1.12 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/1.274, allocations: 12 kB / 1.12 GB, free: 7.723 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009339/1.275, allocations: 411.4 kB / 1.12 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/1.275, allocations: 95.7 kB / 1.12 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 7.454e-05/1.275, allocations: 77.58 kB / 1.12 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005014/1.276, allocations: 387.2 kB / 1.121 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/1.276, allocations: 0 / 1.121 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.245e-06/1.276, allocations: 4 kB / 1.121 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.276, allocations: 0 / 1.121 GB, free: 6.762 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.0009855/1.277, allocations: 0.6196 MB / 1.121 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/1.277, allocations: 12.03 kB / 1.121 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.848e-05/1.277, allocations: 58.53 kB / 1.121 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004855/1.277, allocations: 83.56 kB / 1.121 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/1.278, allocations: 286.1 kB / 1.122 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/1.278, allocations: 24.5 kB / 1.122 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/1.278, allocations: 31.86 kB / 1.122 GB, free: 5.555 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006169/1.278, allocations: 336.2 kB / 1.122 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.278, allocations: 4 kB / 1.122 GB, free: 5.211 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/1.278, allocations: 12 kB / 1.122 GB, free: 5.199 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/1.278, allocations: 7.938 kB / 1.122 GB, free: 5.191 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007145/1.279, allocations: 321.5 kB / 1.122 GB, free: 4.879 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.001527/1.281, allocations: 1.075 MB / 1.123 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008789/1.281, allocations: 355.6 kB / 1.124 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004792/1.282, allocations: 230.5 kB / 1.124 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/1.282, allocations: 34.52 kB / 1.124 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/1.282, allocations: 0 / 1.124 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001237/1.283, allocations: 454.4 kB / 1.124 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/1.283, allocations: 55.34 kB / 1.125 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/1.284, allocations: 263 kB / 1.125 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/1.284, allocations: 37.7 kB / 1.125 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/1.284, allocations: 164.2 kB / 1.125 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/1.284, allocations: 67.03 kB / 1.125 GB, free: 2.004 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/1.284, allocations: 8 kB / 1.125 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.284, allocations: 334.8 kB / 1.125 GB, free: 1.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/1.284, allocations: 123.9 kB / 1.125 GB, free: 1.539 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/1.285, allocations: 183.3 kB / 1.126 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/1.285, allocations: 133.4 kB / 1.126 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.285, allocations: 0 / 1.126 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000744/1.286, allocations: 349 kB / 1.126 GB, free: 0.8594 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.286, allocations: 11.94 kB / 1.126 GB, free: 0.8477 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/1.286, allocations: 4 kB / 1.126 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/1.286, allocations: 0 / 1.126 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/1.286, allocations: 68.06 kB / 1.126 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.286, allocations: 7.969 kB / 1.126 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/1.286, allocations: 51.81 kB / 1.126 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/1.286, allocations: 12 kB / 1.126 GB, free: 0.707 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0001364/1.286, allocations: 146.8 kB / 1.126 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/1.287, allocations: 35.61 kB / 1.126 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007901/1.287, allocations: 344.9 kB / 1.127 GB, free: 180 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.287, allocations: 0 / 1.127 GB, free: 180 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.287, allocations: 4 kB / 1.127 GB, free: 176 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.287, allocations: 7.938 kB / 1.127 GB, free: 168 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/1.289, allocations: 0.9806 MB / 1.128 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.289, allocations: 224 / 1.128 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/1.289, allocations: 63.95 kB / 1.128 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/1.289, allocations: 4.047 kB / 1.128 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/1.289, allocations: 7.984 kB / 1.128 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/1.289, allocations: 3.938 kB / 1.128 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.289, allocations: 4 kB / 1.128 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/1.29, allocations: 0.7021 MB / 1.128 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/1.29, allocations: 124.8 kB / 1.129 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/1.291, allocations: 7.938 kB / 1.129 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/1.291, allocations: 36.03 kB / 1.129 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/1.291, allocations: 19.97 kB / 1.129 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/1.291, allocations: 11.95 kB / 1.129 GB, free: 14 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001597/1.291, allocations: 193.9 kB / 1.129 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/1.291, allocations: 8 kB / 1.129 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004377/1.292, allocations: 107.8 kB / 1.129 GB, free: 13.69 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.001805/1.293, allocations: 1.778 MB / 1.131 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007322/1.294, allocations: 283.8 kB / 1.131 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/1.294, allocations: 0 / 1.131 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/1.294, allocations: 160.1 kB / 1.131 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006882/1.295, allocations: 126.6 kB / 1.131 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/1.298, allocations: 2.75 MB / 1.134 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/1.299, allocations: 0.7833 MB / 1.135 GB, free: 7.645 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002429/1.299, allocations: 70.22 kB / 1.135 GB, free: 7.578 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/1.299, allocations: 91.41 kB / 1.135 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of SimCode: time 2.61e-07/1.299, allocations: 0 / 1.135 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/1.319, allocations: 8.008 MB / 1.143 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002455/1.32, allocations: 233.4 kB / 1.143 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/3.45, allocations: 2.25 kB / 1.143 GB, free: 15.44 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat does not exist to compare? outputFormat=mat