Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.Outside_CpData_Specification,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",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.001306/0.001306, allocations: 100 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.001619/0.001619, allocations: 177.3 kB / 15.95 MB, free: 216 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.332/1.332, allocations: 223.2 MB / 239.9 MB, free: 5.383 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.311/2.311, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003121, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6413/0.6416, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1613/0.803, allocations: 130 MB / 1.081 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01954/0.8225, allocations: 8.785 MB / 1.089 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.8244, allocations: 19.88 kB / 1.089 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.8254, allocations: 143 kB / 1.089 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004364/0.8298, allocations: 0.7972 MB / 1.09 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003711/0.8335, allocations: 0.8308 MB / 1.091 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002489/0.836, allocations: 1.01 MB / 1.092 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.838, allocations: 0.8879 MB / 1.093 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.8393, allocations: 0.4942 MB / 1.093 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008653/0.8402, allocations: 421.9 kB / 1.094 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.8404, allocations: 32 kB / 1.094 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/0.8428, allocations: 0.7372 MB / 1.094 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003749/0.8432, allocations: 247 kB / 1.095 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.8435, allocations: 233 kB / 1.095 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002805/0.8463, allocations: 1.582 MB / 1.096 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.8464, allocations: 4 kB / 1.096 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8464, allocations: 3.938 kB / 1.096 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.009e-05/0.8464, allocations: 0 / 1.096 GB, free: 13.57 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004281/0.8507, allocations: 1.481 MB / 1.098 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.8507, allocations: 8.031 kB / 1.098 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002963/0.8511, allocations: 152.1 kB / 1.098 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.8537, allocations: 278.1 kB / 1.098 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.8559, allocations: 1.031 MB / 1.099 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.581e-05/0.856, allocations: 74 kB / 1.099 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.8562, allocations: 92 kB / 1.099 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/0.8591, allocations: 1.102 MB / 1.1 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.8592, allocations: 0 / 1.1 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.8593, allocations: 44 kB / 1.101 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/0.8594, allocations: 24 kB / 1.101 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003451/0.8628, allocations: 1.331 MB / 1.102 GB, free: 7.816 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.008032/0.8709, allocations: 3.315 MB / 1.105 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/0.874, allocations: 1.043 MB / 1.106 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/0.8742, allocations: 48.94 kB / 1.106 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001683/0.8759, allocations: 0.6254 MB / 1.107 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=95): time 4.438e-06/0.8759, allocations: 4 kB / 1.107 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of matching and sorting (n=95): time 0.006302/0.8823, allocations: 1.649 MB / 1.108 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.8824, allocations: 196.9 kB / 1.109 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.8845, allocations: 1.013 MB / 1.11 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001588/0.8847, allocations: 41.7 kB / 1.11 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005548/0.8852, allocations: 476.4 kB / 1.11 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003952/0.8856, allocations: 315.4 kB / 1.11 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.8857, allocations: 16 kB / 1.11 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.8859, allocations: 345.9 kB / 1.111 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.8871, allocations: 337.8 kB / 1.111 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.8883, allocations: 473.1 kB / 1.111 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.8896, allocations: 398.8 kB / 1.112 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.8896, allocations: 0 / 1.112 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003796/0.8934, allocations: 1.049 MB / 1.113 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.8934, allocations: 4 kB / 1.113 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.8934, allocations: 0 / 1.113 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.8945, allocations: 113.6 kB / 1.113 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.8958, allocations: 207.7 kB / 1.113 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004115/0.9, allocations: 2.873 MB / 1.116 GB, free: 8.758 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.901, allocations: 131.9 kB / 1.116 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.431e-05/0.9011, allocations: 35.98 kB / 1.116 GB, free: 8.594 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 98 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006237/0.9018, allocations: 297.6 kB / 1.116 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.902, allocations: 106.7 kB / 1.117 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/0.905, allocations: 1.341 MB / 1.118 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.905, allocations: 12 kB / 1.118 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.9051, allocations: 0 / 1.118 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.9051, allocations: 7.969 kB / 1.118 GB, free: 6.809 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004083/0.9092, allocations: 2.322 MB / 1.12 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.9092, allocations: 0 / 1.12 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008607/0.9101, allocations: 203.8 kB / 1.12 GB, free: 4.219 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006234/0.9107, allocations: 113.6 kB / 1.12 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.377e-05/0.9108, allocations: 27.97 kB / 1.12 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002785/0.9136, allocations: 2.907 MB / 1.123 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9136, allocations: 0 / 1.123 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.9161, allocations: 1.285 MB / 1.125 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005344/0.9167, allocations: 335.3 kB / 1.125 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.9168, allocations: 24 kB / 1.125 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008926/0.9177, allocations: 107.8 kB / 1.125 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.9179, allocations: 84.86 kB / 1.125 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.814e-05/0.918, allocations: 43.97 kB / 1.125 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001011/0.919, allocations: 0.7449 MB / 1.126 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9191, allocations: 7.938 kB / 1.126 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0013/0.9204, allocations: 439.1 kB / 1.126 GB, free: 13.79 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004424/0.9248, allocations: 2.585 MB / 1.129 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002207/0.927, allocations: 1.119 MB / 1.13 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.927, allocations: 4.062 kB / 1.13 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.9283, allocations: 0.7527 MB / 1.131 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.9297, allocations: 294.7 kB / 1.131 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/0.9435, allocations: 7.556 MB / 1.138 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000719/0.9443, allocations: 1.134 MB / 1.139 GB, free: 204 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001153/0.9454, allocations: 307.9 kB / 1.14 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006346/0.9461, allocations: 467.1 kB / 1.14 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of SimCode: time 9.32e-07/0.9461, allocations: 0 / 1.14 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04726/0.9933, allocations: 27.77 MB / 1.167 GB, free: 4.066 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.9936, allocations: 274.7 kB / 1.168 GB, free: 3.703 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.492, allocations: 0 / 1.168 GB, free: 3.703 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat does not exist to compare? outputFormat=mat