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.0007846/0.0007846, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0008087/0.0008087, allocations: 168.7 kB / 15.95 MB, free: 204 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.361/1.361, allocations: 223.3 MB / 240 MB, free: 5.352 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.437/2.437, allocations: 390.4 MB / 0.6655 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003178, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6448/0.6451, allocations: 142.3 MB / 0.9539 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1542/0.7994, allocations: 139.7 MB / 1.09 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01243/0.8118, allocations: 9.711 MB / 1.1 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009854/0.8129, allocations: 19.88 kB / 1.1 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006794/0.8136, allocations: 194.5 kB / 1.1 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002389/0.816, allocations: 0.7338 MB / 1.101 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.8184, allocations: 0.8343 MB / 1.101 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001819/0.8202, allocations: 1.476 MB / 1.103 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.8216, allocations: 0.8839 MB / 1.104 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.8228, allocations: 0.5135 MB / 1.104 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000682/0.8235, allocations: 473.8 kB / 1.105 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.434e-05/0.8236, allocations: 28 kB / 1.105 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.8257, allocations: 0.7762 MB / 1.106 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002925/0.826, allocations: 254.9 kB / 1.106 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002586/0.8263, allocations: 237 kB / 1.106 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.8281, allocations: 1.574 MB / 1.108 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8281, allocations: 0 / 1.108 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8281, allocations: 4 kB / 1.108 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.8281, allocations: 0 / 1.108 GB, free: 2.492 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.002857/0.831, allocations: 1.481 MB / 1.109 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.8311, allocations: 8.031 kB / 1.109 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.8313, allocations: 156 kB / 1.109 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.8328, allocations: 278.1 kB / 1.109 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.8344, allocations: 1.027 MB / 1.11 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.781e-05/0.8345, allocations: 74 kB / 1.11 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.8347, allocations: 99.98 kB / 1.111 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.8369, allocations: 1.106 MB / 1.112 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.8369, allocations: 3.984 kB / 1.112 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.837, allocations: 40 kB / 1.112 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.8371, allocations: 24 kB / 1.112 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/0.8395, allocations: 1.335 MB / 1.113 GB, free: 12.73 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.005208/0.8447, allocations: 3.305 MB / 1.116 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.8466, allocations: 1.118 MB / 1.117 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007128/0.8473, allocations: 428.8 kB / 1.118 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002364/0.8476, allocations: 138 kB / 1.118 GB, free: 7.59 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.8487, allocations: 0.6332 MB / 1.118 GB, free: 6.941 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=95): time 2.445e-06/0.8487, allocations: 4 kB / 1.118 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95): time 0.003901/0.8526, allocations: 1.655 MB / 1.12 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.479e-05/0.8527, allocations: 192.9 kB / 1.12 GB, free: 5 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.8539, allocations: 1.013 MB / 1.121 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.256e-05/0.854, allocations: 49.7 kB / 1.121 GB, free: 3.922 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/0.8544, allocations: 472.4 kB / 1.122 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.8547, allocations: 307.6 kB / 1.122 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.8547, allocations: 16 kB / 1.122 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.8548, allocations: 337.9 kB / 1.122 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006564/0.8555, allocations: 337.8 kB / 1.123 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007681/0.8563, allocations: 481.1 kB / 1.123 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000736/0.857, allocations: 398.8 kB / 1.124 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.857, allocations: 0 / 1.124 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002256/0.8593, allocations: 1.052 MB / 1.125 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.8593, allocations: 4 kB / 1.125 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.8593, allocations: 0 / 1.125 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006721/0.86, allocations: 117.7 kB / 1.125 GB, free: 396 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008627/0.8609, allocations: 203.7 kB / 1.125 GB, free: 192 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002803/0.8637, allocations: 2.84 MB / 1.128 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008373/0.8646, allocations: 139.2 kB / 1.128 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.258e-05/0.8647, allocations: 31.98 kB / 1.128 GB, free: 12.91 MB / 0.8887 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.0005179/0.8652, allocations: 301.7 kB / 1.128 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.8653, allocations: 106.7 kB / 1.128 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002916/0.8683, allocations: 1.353 MB / 1.13 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.8683, allocations: 12 kB / 1.13 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8683, allocations: 0 / 1.13 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.8683, allocations: 7.984 kB / 1.13 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003976/0.8723, allocations: 2.465 MB / 1.132 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.8723, allocations: 0 / 1.132 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000798/0.8731, allocations: 195.8 kB / 1.132 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005759/0.8737, allocations: 121.5 kB / 1.132 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.249e-05/0.8738, allocations: 27.98 kB / 1.132 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/0.8763, allocations: 2.879 MB / 1.135 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8764, allocations: 0 / 1.135 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.8788, allocations: 1.243 MB / 1.136 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/0.8792, allocations: 339.3 kB / 1.137 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.8794, allocations: 31.95 kB / 1.137 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007897/0.8802, allocations: 99.91 kB / 1.137 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.8804, allocations: 80.88 kB / 1.137 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.831e-05/0.8805, allocations: 47.97 kB / 1.137 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008662/0.8813, allocations: 0.7372 MB / 1.138 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8813, allocations: 0 / 1.138 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00116/0.8825, allocations: 443 kB / 1.138 GB, free: 2.039 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.004075/0.8866, allocations: 2.403 MB / 1.14 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002048/0.8887, allocations: 1.123 MB / 1.141 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.8887, allocations: 4 kB / 1.141 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.8899, allocations: 0.7449 MB / 1.142 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.8912, allocations: 324.6 kB / 1.143 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.9038, allocations: 7.173 MB / 1.15 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007147/0.9045, allocations: 1.103 MB / 1.151 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001175/0.9057, allocations: 311.8 kB / 1.151 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006541/0.9064, allocations: 467.2 kB / 1.151 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of SimCode: time 5.01e-07/0.9064, allocations: 4 kB / 1.151 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04859/0.955, allocations: 27.8 MB / 1.178 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.9552, allocations: 268 kB / 1.179 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/3.529, allocations: 2.812 kB / 1.179 GB, free: 8.535 MB / 0.9356 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