Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",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.208/2.208, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001255/0.001255, allocations: 180.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.0008643/0.0008643, allocations: 91.95 kB / 0.9317 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.136e-05/3.147e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2471, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.842/5.089, allocations: 1.939 GB / 3.158 GB, free: 372.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/5.089, allocations: 87.95 kB / 3.158 GB, free: 372.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.6354/5.725, allocations: 325.6 MB / 3.476 GB, free: 41.54 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.783e-06/5.725, allocations: 4 kB / 3.476 GB, free: 41.53 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002693/5.725, allocations: 51.98 kB / 3.476 GB, free: 41.48 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.005308/5.73, allocations: 2.103 MB / 3.478 GB, free: 39.32 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/5.731, allocations: 12.03 kB / 3.478 GB, free: 39.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006276/5.731, allocations: 236.5 kB / 3.478 GB, free: 39.06 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00392/5.735, allocations: 0.5434 MB / 3.479 GB, free: 38.52 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004209/5.739, allocations: 2.169 MB / 3.481 GB, free: 36.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/5.739, allocations: 127.2 kB / 3.481 GB, free: 36.17 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004108/5.74, allocations: 164 kB / 3.481 GB, free: 36.01 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003602/5.743, allocations: 1.783 MB / 3.483 GB, free: 34.18 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/5.744, allocations: 0 / 3.483 GB, free: 34.18 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/5.744, allocations: 72 kB / 3.483 GB, free: 34.11 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/5.744, allocations: 40 kB / 3.483 GB, free: 34.07 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/5.747, allocations: 1.902 MB / 3.485 GB, free: 32.16 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.008941/5.756, allocations: 6.018 MB / 3.491 GB, free: 25.93 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/5.758, allocations: 1.875 MB / 3.492 GB, free: 23.98 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008149/5.759, allocations: 0.679 MB / 3.493 GB, free: 23.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005048/5.759, allocations: 425.7 kB / 3.493 GB, free: 22.81 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/5.76, allocations: 0.8802 MB / 3.494 GB, free: 21.91 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 3.667e-06/5.76, allocations: 0 / 3.494 GB, free: 21.91 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.003402/5.764, allocations: 1.623 MB / 3.496 GB, free: 20.26 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/5.764, allocations: 244.6 kB / 3.496 GB, free: 19.96 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003924/5.768, allocations: 2.409 MB / 3.498 GB, free: 17.55 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003031/5.768, allocations: 57.7 kB / 3.499 GB, free: 17.49 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008221/5.769, allocations: 0.859 MB / 3.499 GB, free: 16.62 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004191/5.769, allocations: 457.2 kB / 3.5 GB, free: 16.16 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.878e-05/5.769, allocations: 24 kB / 3.5 GB, free: 16.14 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.72e-05/5.77, allocations: 357.9 kB / 3.5 GB, free: 15.79 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000758/5.77, allocations: 490.5 kB / 3.501 GB, free: 15.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009328/5.771, allocations: 0.7008 MB / 3.501 GB, free: 14.54 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008865/5.772, allocations: 0.5641 MB / 3.502 GB, free: 13.98 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/5.772, allocations: 0 / 3.502 GB, free: 13.98 MB / 1.167 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003192/5.775, allocations: 1.584 MB / 3.503 GB, free: 12.37 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/5.775, allocations: 7.984 kB / 3.503 GB, free: 12.36 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/5.775, allocations: 0 / 3.503 GB, free: 12.36 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009911/5.776, allocations: 220.1 kB / 3.504 GB, free: 12.13 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/5.778, allocations: 307.6 kB / 3.504 GB, free: 11.83 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004196/5.782, allocations: 6.788 MB / 3.511 GB, free: 4.363 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/5.784, allocations: 163 kB / 3.511 GB, free: 4.203 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/5.784, allocations: 63.97 kB / 3.511 GB, free: 4.141 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 126 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003422/5.784, allocations: 180.7 kB / 3.511 GB, free: 3.957 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005185/5.785, allocations: 185.8 kB / 3.511 GB, free: 3.773 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004015/5.789, allocations: 2.027 MB / 3.513 GB, free: 1.715 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/5.789, allocations: 12 kB / 3.513 GB, free: 1.703 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/5.789, allocations: 7.953 kB / 3.513 GB, free: 1.695 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/5.789, allocations: 7.969 kB / 3.513 GB, free: 1.688 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6783/6.467, allocations: 4.121 MB / 3.517 GB, free: 309.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/6.467, allocations: 3.531 kB / 3.517 GB, free: 309.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/6.469, allocations: 319.8 kB / 3.517 GB, free: 309.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/6.47, allocations: 220 kB / 3.518 GB, free: 309.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/6.47, allocations: 42.3 kB / 3.518 GB, free: 309.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005437/6.475, allocations: 6.82 MB / 3.524 GB, free: 303.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/6.475, allocations: 5.906 kB / 3.524 GB, free: 303.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004318/6.48, allocations: 1.787 MB / 3.526 GB, free: 303.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/6.481, allocations: 0.6699 MB / 3.527 GB, free: 303.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/6.482, allocations: 28.08 kB / 3.527 GB, free: 303.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/6.483, allocations: 129.4 kB / 3.527 GB, free: 303.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003441/6.483, allocations: 108.6 kB / 3.527 GB, free: 303.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/6.484, allocations: 85.5 kB / 3.527 GB, free: 303.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003748/6.487, allocations: 1.905 MB / 3.529 GB, free: 303.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.51e-07/6.487, allocations: 0 / 3.529 GB, free: 303.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003468/6.491, allocations: 0.8251 MB / 3.53 GB, free: 303.1 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007294/6.498, allocations: 3.835 MB / 3.534 GB, free: 302.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002886/6.501, allocations: 1.795 MB / 3.535 GB, free: 301.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/6.501, allocations: 2.75 kB / 3.535 GB, free: 301.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00198/6.503, allocations: 1.287 MB / 3.537 GB, free: 301 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/6.506, allocations: 466.2 kB / 3.537 GB, free: 301 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/6.517, allocations: 3.379 MB / 3.54 GB, free: 300.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/6.519, allocations: 1.547 MB / 3.542 GB, free: 299.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002918/6.521, allocations: 0.6643 MB / 3.542 GB, free: 299.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/6.523, allocations: 0.9132 MB / 3.543 GB, free: 299.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.092e-06/6.523, allocations: 4.531 kB / 3.543 GB, free: 299.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/6.643, allocations: 69.96 MB / 3.612 GB, free: 297.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/6.643, allocations: 222.6 kB / 3.612 GB, free: 296.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.089/10.73, allocations: 0 / 3.612 GB, free: 296.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat does not exist to compare? outputFormat=mat