Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h",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.0009919/0.0009919, allocations: 92 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.001146/0.001146, 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.319/1.319, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.268/2.268, allocations: 390.4 MB / 0.6655 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003091, allocations: 8 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6368/0.6372, allocations: 142.3 MB / 0.9538 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1555/0.7927, allocations: 159.9 MB / 1.11 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008798/0.8015, allocations: 8.083 MB / 1.118 GB, free: 7.711 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004934/0.8021, allocations: 15.88 kB / 1.118 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005761/0.8026, allocations: 214.4 kB / 1.118 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0005646/0.8032, allocations: 282.7 kB / 1.118 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007478/0.804, allocations: 308.4 kB / 1.119 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.8052, allocations: 1.367 MB / 1.12 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005339/0.8057, allocations: 432.2 kB / 1.12 GB, free: 5.113 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00301/0.8087, allocations: 1.486 MB / 1.122 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000356/0.8091, allocations: 322.5 kB / 1.122 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.8091, allocations: 20 kB / 1.122 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.8093, allocations: 63.95 kB / 1.122 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.8095, allocations: 235.3 kB / 1.123 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 9.927e-05/0.8096, allocations: 129.4 kB / 1.123 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.81, allocations: 450.9 kB / 1.123 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8101, allocations: 0 / 1.123 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8101, allocations: 0 / 1.123 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.8101, allocations: 4 kB / 1.123 GB, free: 2.414 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0008124/0.8109, allocations: 0.7288 MB / 1.124 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.8109, allocations: 8.031 kB / 1.124 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.822e-05/0.811, allocations: 98.5 kB / 1.124 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.344e-05/0.8111, allocations: 63.25 kB / 1.124 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.8116, allocations: 402.4 kB / 1.124 GB, free: 1.027 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.8116, allocations: 49.28 kB / 1.124 GB, free: 0.9805 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.91e-05/0.8117, allocations: 59.94 kB / 1.124 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000917/0.8126, allocations: 0.7027 MB / 1.125 GB, free: 136 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.8127, allocations: 3.953 kB / 1.125 GB, free: 132 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.8127, allocations: 24 kB / 1.125 GB, free: 108 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/0.8128, allocations: 27.92 kB / 1.125 GB, free: 80 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006292/0.8134, allocations: 383.4 kB / 1.126 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002478/0.8159, allocations: 3.227 MB / 1.129 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.8161, allocations: 230.1 kB / 1.129 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.8164, allocations: 136.5 kB / 1.129 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.8164, allocations: 0 / 1.129 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.8164, allocations: 50.48 kB / 1.129 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.8164, allocations: 0 / 1.129 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10): time 0.0006686/0.8171, allocations: 265.4 kB / 1.129 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.8172, allocations: 299 kB / 1.13 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008169/0.8181, allocations: 0.6799 MB / 1.13 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.8181, allocations: 25.7 kB / 1.13 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.8183, allocations: 268.2 kB / 1.131 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.8184, allocations: 31.64 kB / 1.131 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.8184, allocations: 0 / 1.131 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.8185, allocations: 370.8 kB / 1.131 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.8187, allocations: 43.97 kB / 1.131 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.8188, allocations: 97.09 kB / 1.131 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.8189, allocations: 55.91 kB / 1.131 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.819, allocations: 0 / 1.131 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003345/0.8193, allocations: 204.8 kB / 1.131 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.8193, allocations: 8 kB / 1.131 GB, free: 9.355 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.8193, allocations: 0 / 1.131 GB, free: 9.355 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.8193, allocations: 0 / 1.131 GB, free: 9.355 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.8196, allocations: 56.14 kB / 1.131 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.8196, allocations: 4 kB / 1.131 GB, free: 9.297 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.8198, allocations: 71.44 kB / 1.131 GB, free: 9.227 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.8198, allocations: 8 kB / 1.131 GB, free: 9.219 MB / 0.8887 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 (10): * Single equations (assignments): 10 * 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.0001951/0.82, allocations: 205.7 kB / 1.132 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.8203, allocations: 63.25 kB / 1.132 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.905e-05/0.8203, allocations: 56.33 kB / 1.132 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.8204, allocations: 4 kB / 1.132 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.8204, allocations: 4 kB / 1.132 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.8204, allocations: 3.984 kB / 1.132 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.8217, allocations: 1.304 MB / 1.133 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.8217, allocations: 4.062 kB / 1.133 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.8219, allocations: 60.17 kB / 1.133 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.8219, allocations: 4 kB / 1.133 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.8219, allocations: 4 kB / 1.133 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.822, allocations: 4 kB / 1.133 GB, free: 7.402 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.822, allocations: 7.938 kB / 1.133 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.8224, allocations: 342.6 kB / 1.133 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.8225, allocations: 156.3 kB / 1.134 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/0.8226, allocations: 4 kB / 1.134 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.8228, allocations: 19.98 kB / 1.134 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.8228, allocations: 15.92 kB / 1.134 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.8228, allocations: 4 kB / 1.134 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005216/0.8233, allocations: 0.4912 MB / 1.134 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8234, allocations: 0 / 1.134 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000368/0.8237, allocations: 75.94 kB / 1.134 GB, free: 6.238 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0008675/0.8246, allocations: 0.927 MB / 1.135 GB, free: 5.266 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.8249, allocations: 103.9 kB / 1.135 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8249, allocations: 4.375 kB / 1.135 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.8251, allocations: 71.83 kB / 1.135 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.8264, allocations: 269.2 kB / 1.136 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.8305, allocations: 3.096 MB / 1.139 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.831, allocations: 0.9052 MB / 1.139 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002447/0.8312, allocations: 100.6 kB / 1.14 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.8314, allocations: 175.3 kB / 1.14 GB, free: 452 kB / 0.8887 GB Notification: Performance of SimCode: time 5.51e-07/0.8315, allocations: 4 kB / 1.14 GB, free: 448 kB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.8562, allocations: 12.98 MB / 1.152 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/0.8564, allocations: 228.9 kB / 1.153 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.639, allocations: 0 / 1.153 GB, free: 3.473 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat does not exist to compare? outputFormat=mat