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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.322/2.322, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 176 kB / 0.4901 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.729/1.729, allocations: 223.1 MB / 0.7992 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009219/0.0009219, allocations: 92.31 kB / 0.9396 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004029, allocations: 18.06 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3792, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.938/5.318, allocations: 1.939 GB / 3.168 GB, free: 41.21 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/5.318, allocations: 89.41 kB / 3.168 GB, free: 41.13 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.161/6.479, allocations: 153.1 MB / 3.318 GB, free: 360.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.144e-06/6.479, allocations: 0 / 3.318 GB, free: 360.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.014e-05/6.48, allocations: 24 kB / 3.318 GB, free: 360.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002996/6.483, allocations: 1.506 MB / 3.319 GB, free: 358.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/6.483, allocations: 8.562 kB / 3.319 GB, free: 358.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001639/6.483, allocations: 143.7 kB / 3.319 GB, free: 358.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/6.484, allocations: 266.2 kB / 3.32 GB, free: 358.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/6.486, allocations: 0.8237 MB / 3.32 GB, free: 357.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/6.486, allocations: 70.52 kB / 3.32 GB, free: 357.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/6.486, allocations: 91.95 kB / 3.321 GB, free: 357.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/6.487, allocations: 1.039 MB / 3.322 GB, free: 356.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/6.487, allocations: 0 / 3.322 GB, free: 356.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.579e-05/6.488, allocations: 40 kB / 3.322 GB, free: 356 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/6.488, allocations: 23.98 kB / 3.322 GB, free: 356 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/6.489, allocations: 1.28 MB / 3.323 GB, free: 354.7 MB / 1.167 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.004618/6.494, allocations: 3.137 MB / 3.326 GB, free: 351.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/6.496, allocations: 1.023 MB / 3.327 GB, free: 350.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002295/6.496, allocations: 134.1 kB / 3.327 GB, free: 350.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008473/6.497, allocations: 0.5592 MB / 3.328 GB, free: 349.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=86): time 3.436e-06/6.497, allocations: 3.984 kB / 3.328 GB, free: 349.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=86): time 0.003717/6.5, allocations: 1.54 MB / 3.329 GB, free: 348.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/6.501, allocations: 244.3 kB / 3.329 GB, free: 347.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009998/6.502, allocations: 0.8127 MB / 3.33 GB, free: 347 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.41e-05/6.502, allocations: 41.7 kB / 3.33 GB, free: 346.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/6.502, allocations: 444.4 kB / 3.331 GB, free: 346.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/6.502, allocations: 287.8 kB / 3.331 GB, free: 346.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/6.502, allocations: 20 kB / 3.331 GB, free: 346.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.779e-05/6.502, allocations: 337.9 kB / 3.331 GB, free: 345.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005328/6.503, allocations: 297.8 kB / 3.331 GB, free: 345.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/6.503, allocations: 449.9 kB / 3.332 GB, free: 345.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/6.504, allocations: 366.8 kB / 3.332 GB, free: 344.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/6.504, allocations: 0 / 3.332 GB, free: 344.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002048/6.506, allocations: 0.9626 MB / 3.333 GB, free: 343.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/6.506, allocations: 11.95 kB / 3.333 GB, free: 343.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/6.506, allocations: 0 / 3.333 GB, free: 343.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007487/6.507, allocations: 113.7 kB / 3.333 GB, free: 343.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007712/6.508, allocations: 183.8 kB / 3.333 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/6.51, allocations: 2.868 MB / 3.336 GB, free: 340.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009341/6.511, allocations: 115.3 kB / 3.336 GB, free: 340.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.443e-05/6.511, allocations: 35.97 kB / 3.336 GB, free: 340.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 85 * 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.0006045/6.512, allocations: 285.6 kB / 3.337 GB, free: 339.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/6.512, allocations: 98.83 kB / 3.337 GB, free: 339.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/6.514, allocations: 1.263 MB / 3.338 GB, free: 338.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/6.514, allocations: 8 kB / 3.338 GB, free: 338.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/6.515, allocations: 3.953 kB / 3.338 GB, free: 338.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/6.515, allocations: 7.969 kB / 3.338 GB, free: 338.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/6.518, allocations: 2.345 MB / 3.34 GB, free: 336.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/6.518, allocations: 0 / 3.34 GB, free: 336.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007988/6.519, allocations: 199.8 kB / 3.341 GB, free: 335.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006102/6.52, allocations: 113.5 kB / 3.341 GB, free: 335.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.828e-05/6.52, allocations: 31.98 kB / 3.341 GB, free: 335.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/6.522, allocations: 2.903 MB / 3.344 GB, free: 332.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/6.522, allocations: 0 / 3.344 GB, free: 332.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/6.525, allocations: 1.149 MB / 3.345 GB, free: 331.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007707/6.525, allocations: 347.4 kB / 3.345 GB, free: 331 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/6.526, allocations: 16 kB / 3.345 GB, free: 331 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009362/6.527, allocations: 91.92 kB / 3.345 GB, free: 330.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/6.527, allocations: 64.91 kB / 3.345 GB, free: 330.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.647e-05/6.527, allocations: 43.97 kB / 3.345 GB, free: 330.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001/6.528, allocations: 0.6474 MB / 3.346 GB, free: 330.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.1e-07/6.528, allocations: 0 / 3.346 GB, free: 330.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002039/6.53, allocations: 0.5302 MB / 3.346 GB, free: 329.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00562/6.536, allocations: 2.974 MB / 3.349 GB, free: 326.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002052/6.538, allocations: 1.041 MB / 3.35 GB, free: 325.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/6.538, allocations: 0 / 3.35 GB, free: 325.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/6.539, allocations: 0.6904 MB / 3.351 GB, free: 325 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/6.54, allocations: 295.8 kB / 3.351 GB, free: 324.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/6.554, allocations: 6.63 MB / 3.358 GB, free: 317.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007613/6.555, allocations: 1.11 MB / 3.359 GB, free: 316.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001505/6.556, allocations: 323.1 kB / 3.359 GB, free: 316.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007905/6.557, allocations: 435.2 kB / 3.359 GB, free: 316.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.974e-06/6.557, allocations: 0 / 3.359 GB, free: 316.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07163/6.629, allocations: 39.29 MB / 3.398 GB, free: 277.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/6.629, allocations: 277.8 kB / 3.398 GB, free: 276.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.368/9.997, allocations: 3.938 kB / 3.398 GB, free: 276.8 MB / 1.167 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) 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