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.001041/0.001041, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001427/0.001427, 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.432/1.432, allocations: 223.2 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.422/2.422, allocations: 409.4 MB / 0.684 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003285, allocations: 8 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6791/0.6795, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1545/0.834, allocations: 139.7 MB / 1.118 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01438/0.8484, allocations: 9.712 MB / 1.127 GB, free: 472 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.8495, allocations: 23.81 kB / 1.127 GB, free: 448 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008935/0.8504, allocations: 194.5 kB / 1.127 GB, free: 252 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.853, allocations: 0.7332 MB / 1.128 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.8553, allocations: 0.8331 MB / 1.129 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001817/0.8572, allocations: 1.472 MB / 1.13 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.8585, allocations: 0.88 MB / 1.131 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.8596, allocations: 0.5134 MB / 1.132 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007648/0.8604, allocations: 473.8 kB / 1.132 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.8606, allocations: 28 kB / 1.132 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.8623, allocations: 0.7762 MB / 1.133 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.8626, allocations: 255 kB / 1.133 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002471/0.8628, allocations: 233 kB / 1.133 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.8646, allocations: 1.578 MB / 1.135 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.8646, allocations: 0 / 1.135 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8646, allocations: 0 / 1.135 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.8646, allocations: 0 / 1.135 GB, free: 8.469 MB / 0.8887 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.002565/0.8672, allocations: 1.485 MB / 1.136 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.8672, allocations: 12.03 kB / 1.136 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/0.8674, allocations: 156.1 kB / 1.136 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.8689, allocations: 282 kB / 1.137 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.8703, allocations: 1.024 MB / 1.138 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.777e-05/0.8704, allocations: 74 kB / 1.138 GB, free: 5.336 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.8705, allocations: 92 kB / 1.138 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.8723, allocations: 1.114 MB / 1.139 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.8724, allocations: 0 / 1.139 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-05/0.8725, allocations: 44 kB / 1.139 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.8725, allocations: 24 kB / 1.139 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.8747, allocations: 1.327 MB / 1.14 GB, free: 2.699 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.004879/0.8796, allocations: 3.324 MB / 1.144 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.8814, allocations: 1.106 MB / 1.145 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000744/0.8822, allocations: 427.7 kB / 1.145 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.8825, allocations: 142 kB / 1.145 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.8836, allocations: 0.6254 MB / 1.146 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=95): time 2.615e-06/0.8836, allocations: 4 kB / 1.146 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=95): time 0.003863/0.8875, allocations: 1.659 MB / 1.147 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.226e-05/0.8876, allocations: 192.9 kB / 1.148 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.8888, allocations: 1.013 MB / 1.149 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.067e-05/0.8889, allocations: 45.7 kB / 1.149 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/0.8893, allocations: 476.4 kB / 1.149 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.8896, allocations: 319.5 kB / 1.149 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.8896, allocations: 12 kB / 1.149 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.8897, allocations: 334 kB / 1.15 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006543/0.8904, allocations: 345.8 kB / 1.15 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007572/0.8911, allocations: 477 kB / 1.15 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007317/0.8919, allocations: 390.8 kB / 1.151 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.8919, allocations: 4 kB / 1.151 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00224/0.8941, allocations: 1.049 MB / 1.152 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.8942, allocations: 5.406 kB / 1.152 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.8942, allocations: 80 / 1.152 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006498/0.8948, allocations: 117.6 kB / 1.152 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008438/0.8957, allocations: 211.7 kB / 1.152 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/0.8984, allocations: 2.852 MB / 1.155 GB, free: 3.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008723/0.8993, allocations: 132 kB / 1.155 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.83e-05/0.8994, allocations: 31.98 kB / 1.155 GB, free: 2.859 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.0005492/0.8999, allocations: 305.6 kB / 1.155 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.9001, allocations: 102.7 kB / 1.156 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002848/0.903, allocations: 1.342 MB / 1.157 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.903, allocations: 11.98 kB / 1.157 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.903, allocations: 0 / 1.157 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.9031, allocations: 11.98 kB / 1.157 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004062/0.9071, allocations: 2.461 MB / 1.159 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.9072, allocations: 0 / 1.159 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007919/0.9079, allocations: 191.7 kB / 1.159 GB, free: 14.36 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005674/0.9085, allocations: 121.6 kB / 1.16 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.488e-05/0.9086, allocations: 23.98 kB / 1.16 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00252/0.9111, allocations: 2.883 MB / 1.162 GB, free: 11.05 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9112, allocations: 0 / 1.162 GB, free: 11.05 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.9136, allocations: 1.243 MB / 1.164 GB, free: 9.781 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000495/0.9141, allocations: 343.3 kB / 1.164 GB, free: 9.426 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.9143, allocations: 20 kB / 1.164 GB, free: 9.406 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008454/0.9151, allocations: 109.3 kB / 1.164 GB, free: 9.301 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.9153, allocations: 84.88 kB / 1.164 GB, free: 9.219 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.91e-05/0.9154, allocations: 43.97 kB / 1.164 GB, free: 9.176 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008911/0.9163, allocations: 0.7411 MB / 1.165 GB, free: 8.438 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9163, allocations: 0 / 1.165 GB, free: 8.438 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001135/0.9174, allocations: 435.1 kB / 1.165 GB, free: 8.012 MB / 0.92 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.004185/0.9216, allocations: 2.406 MB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002101/0.9238, allocations: 1.123 MB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.9238, allocations: 4 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.925, allocations: 0.7449 MB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.9265, allocations: 318.4 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.9399, allocations: 7.173 MB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/0.9406, allocations: 1.11 MB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001158/0.9418, allocations: 311.7 kB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006472/0.9424, allocations: 467.2 kB / 1.179 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of SimCode: time 6.82e-07/0.9424, allocations: 0 / 1.179 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05016/0.9926, allocations: 27.81 MB / 1.206 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.9928, allocations: 273.7 kB / 1.206 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.51, allocations: 0 / 1.206 GB, free: 14.54 MB / 0.9669 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