Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_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.001079/0.001079, allocations: 102.8 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.000844/0.0008441, allocations: 173.3 kB / 15.95 MB, free: 212 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.178/1.178, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.2/2.2, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002958, allocations: 12 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6004/0.6007, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1437/0.7444, allocations: 130 MB / 1.108 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.7555, allocations: 8.794 MB / 1.116 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008837/0.7564, allocations: 19.88 kB / 1.116 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006899/0.7571, allocations: 147 kB / 1.117 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.7598, allocations: 0.7849 MB / 1.117 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.7622, allocations: 0.8382 MB / 1.118 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.7639, allocations: 0.9981 MB / 1.119 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.7652, allocations: 0.8918 MB / 1.12 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008848/0.7661, allocations: 498.1 kB / 1.121 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005585/0.7667, allocations: 429.9 kB / 1.121 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.183e-05/0.7668, allocations: 32 kB / 1.121 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.7686, allocations: 0.7372 MB / 1.122 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.7688, allocations: 247 kB / 1.122 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.7691, allocations: 237 kB / 1.122 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.771, allocations: 1.578 MB / 1.124 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.771, allocations: 0 / 1.124 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.683e-06/0.771, allocations: 0 / 1.124 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.239e-05/0.7711, allocations: 4 kB / 1.124 GB, free: 3.652 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002894/0.774, allocations: 1.481 MB / 1.125 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.774, allocations: 8.031 kB / 1.125 GB, free: 2.102 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002058/0.7742, allocations: 152.1 kB / 1.125 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.7758, allocations: 282 kB / 1.126 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.7773, allocations: 1.02 MB / 1.127 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.7774, allocations: 74 kB / 1.127 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.7775, allocations: 100 kB / 1.127 GB, free: 448 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.7795, allocations: 1.106 MB / 1.128 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.7795, allocations: 3.938 kB / 1.128 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.7796, allocations: 40 kB / 1.128 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.7797, allocations: 24 kB / 1.128 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.7819, allocations: 1.335 MB / 1.129 GB, free: 13.89 MB / 0.8887 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.005384/0.7872, allocations: 3.305 MB / 1.132 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.7892, allocations: 1.053 MB / 1.133 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.7893, allocations: 52.88 kB / 1.133 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/0.7904, allocations: 0.6254 MB / 1.134 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=95): time 2.264e-06/0.7904, allocations: 0 / 1.134 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of matching and sorting (n=95): time 0.004012/0.7944, allocations: 1.657 MB / 1.136 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.49e-05/0.7945, allocations: 192.9 kB / 1.136 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.7957, allocations: 1.017 MB / 1.137 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.372e-05/0.7958, allocations: 45.7 kB / 1.137 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004012/0.7962, allocations: 476.4 kB / 1.137 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.7965, allocations: 307.5 kB / 1.138 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.7965, allocations: 16 kB / 1.138 GB, free: 4.914 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.7967, allocations: 341.9 kB / 1.138 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000675/0.7974, allocations: 337.8 kB / 1.138 GB, free: 4.242 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007825/0.7982, allocations: 469.1 kB / 1.139 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007431/0.7989, allocations: 390.8 kB / 1.139 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.7989, allocations: 7.953 kB / 1.139 GB, free: 3.363 MB / 0.8887 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002266/0.8012, allocations: 1.037 MB / 1.14 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.8012, allocations: 8 kB / 1.14 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.8012, allocations: 4.062 kB / 1.14 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000701/0.802, allocations: 113.6 kB / 1.14 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000882/0.8028, allocations: 207.7 kB / 1.14 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/0.8058, allocations: 2.875 MB / 1.143 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009174/0.8067, allocations: 127.1 kB / 1.143 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/0.8068, allocations: 35.98 kB / 1.143 GB, free: 14.67 MB / 0.9044 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.0005848/0.8074, allocations: 297.7 kB / 1.144 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.8076, allocations: 110.6 kB / 1.144 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/0.8106, allocations: 1.35 MB / 1.145 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.8106, allocations: 8 kB / 1.145 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.8106, allocations: 4 kB / 1.145 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.8106, allocations: 3.984 kB / 1.145 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003916/0.8145, allocations: 2.316 MB / 1.147 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.8146, allocations: 0 / 1.147 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008211/0.8154, allocations: 199.8 kB / 1.148 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005986/0.816, allocations: 113.6 kB / 1.148 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.601e-05/0.8161, allocations: 35.97 kB / 1.148 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/0.8186, allocations: 2.903 MB / 1.151 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.8187, allocations: 4.031 kB / 1.151 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.8213, allocations: 1.281 MB / 1.152 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008534/0.8222, allocations: 335.4 kB / 1.152 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.8224, allocations: 24 kB / 1.152 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008596/0.8233, allocations: 107.8 kB / 1.152 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.8235, allocations: 84.88 kB / 1.152 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.854e-05/0.8236, allocations: 43.97 kB / 1.152 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009022/0.8245, allocations: 0.7411 MB / 1.153 GB, free: 4.305 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8245, allocations: 0 / 1.153 GB, free: 4.305 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001169/0.8257, allocations: 447 kB / 1.154 GB, free: 3.867 MB / 0.9044 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.004336/0.83, allocations: 2.575 MB / 1.156 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002042/0.8321, allocations: 1.111 MB / 1.157 GB, free: 308 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.8321, allocations: 0 / 1.157 GB, free: 308 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.8333, allocations: 0.7567 MB / 1.158 GB, free: 15.52 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.8347, allocations: 304.7 kB / 1.158 GB, free: 15.23 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.8479, allocations: 7.572 MB / 1.166 GB, free: 7.441 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008335/0.8487, allocations: 1.13 MB / 1.167 GB, free: 6.277 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001059/0.8498, allocations: 311.8 kB / 1.167 GB, free: 5.969 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005983/0.8504, allocations: 463.2 kB / 1.167 GB, free: 5.52 MB / 0.92 GB Notification: Performance of SimCode: time 9.82e-07/0.8504, allocations: 0 / 1.167 GB, free: 5.52 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.155/2.006, allocations: 27.77 MB / 1.195 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000331/2.006, allocations: 273.3 kB / 1.195 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.135/6.141, allocations: 4 kB / 1.195 GB, free: 9.824 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat does not exist to compare? outputFormat=mat