Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001085/0.001085, allocations: 180.8 kB / 487.4 MB, free: 5.035 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.652/1.652, allocations: 221.5 MB / 0.7824 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 99.91 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.382e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3189, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.34/5.659, allocations: 1.937 GB / 3.143 GB, free: 345.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/5.659, allocations: 87.77 kB / 3.143 GB, free: 345.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6285/6.288, allocations: 322.3 MB / 3.458 GB, free: 43.76 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.444e-06/6.288, allocations: 0 / 3.458 GB, free: 43.76 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002897/6.288, allocations: 51.92 kB / 3.458 GB, free: 43.71 MB / 1.151 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.005424/6.294, allocations: 2.112 MB / 3.46 GB, free: 41.54 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/6.294, allocations: 8.031 kB / 3.46 GB, free: 41.53 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004132/6.298, allocations: 0.5473 MB / 3.461 GB, free: 40.98 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004422/6.302, allocations: 2.165 MB / 3.463 GB, free: 38.76 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.27e-05/6.302, allocations: 52 kB / 3.463 GB, free: 38.71 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004433/6.303, allocations: 99.95 kB / 3.463 GB, free: 38.61 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003259/6.306, allocations: 1.814 MB / 3.465 GB, free: 36.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003201/6.309, allocations: 1.551 MB / 3.466 GB, free: 35.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/6.309, allocations: 0 / 3.466 GB, free: 35.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/6.31, allocations: 4 kB / 3.466 GB, free: 35.19 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/6.31, allocations: 40 kB / 3.466 GB, free: 35.15 MB / 1.151 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.01026/6.32, allocations: 5.713 MB / 3.472 GB, free: 29.25 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/6.322, allocations: 1.785 MB / 3.474 GB, free: 27.38 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007915/6.323, allocations: 0.6322 MB / 3.474 GB, free: 26.75 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005399/6.324, allocations: 429.7 kB / 3.475 GB, free: 26.26 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001199/6.325, allocations: 0.8347 MB / 3.476 GB, free: 25.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 4.398e-06/6.325, allocations: 3.938 kB / 3.476 GB, free: 25.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003694/6.329, allocations: 1.545 MB / 3.477 GB, free: 23.83 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/6.329, allocations: 260.6 kB / 3.477 GB, free: 23.52 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003296/6.332, allocations: 2.236 MB / 3.48 GB, free: 21.27 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002454/6.332, allocations: 29.7 kB / 3.48 GB, free: 21.23 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006897/6.333, allocations: 0.8776 MB / 3.48 GB, free: 20.34 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003631/6.333, allocations: 445.3 kB / 3.481 GB, free: 19.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/6.333, allocations: 0 / 3.481 GB, free: 19.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.643e-05/6.334, allocations: 349.9 kB / 3.481 GB, free: 19.55 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006182/6.334, allocations: 470.4 kB / 3.482 GB, free: 19.09 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007414/6.335, allocations: 0.664 MB / 3.482 GB, free: 18.36 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008394/6.336, allocations: 0.5579 MB / 3.483 GB, free: 17.81 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/6.336, allocations: 0 / 3.483 GB, free: 17.81 MB / 1.151 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003018/6.339, allocations: 1.491 MB / 3.484 GB, free: 16.29 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/6.339, allocations: 7.984 kB / 3.484 GB, free: 16.29 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/6.339, allocations: 4 kB / 3.484 GB, free: 16.28 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/6.34, allocations: 204.2 kB / 3.485 GB, free: 16.07 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/6.341, allocations: 307.6 kB / 3.485 GB, free: 15.77 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00418/6.345, allocations: 6.523 MB / 3.491 GB, free: 8.656 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/6.347, allocations: 135 kB / 3.491 GB, free: 8.523 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002362/6.348, allocations: 63.97 kB / 3.491 GB, free: 8.461 MB / 1.151 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.0004283/6.348, allocations: 124.8 kB / 3.491 GB, free: 8.332 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003248/6.351, allocations: 1.499 MB / 3.493 GB, free: 6.812 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005552/6.352, allocations: 181.8 kB / 3.493 GB, free: 6.633 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003985/6.356, allocations: 1.909 MB / 3.495 GB, free: 4.691 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/6.356, allocations: 15.94 kB / 3.495 GB, free: 4.676 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/6.356, allocations: 8 kB / 3.495 GB, free: 4.668 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/6.356, allocations: 11.95 kB / 3.495 GB, free: 4.656 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00798/6.364, allocations: 3.826 MB / 3.499 GB, free: 0.7656 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/6.364, allocations: 4 kB / 3.499 GB, free: 0.7617 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/6.365, allocations: 319.6 kB / 3.499 GB, free: 460 kB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009319/6.366, allocations: 216.1 kB / 3.499 GB, free: 228 kB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/6.366, allocations: 27.97 kB / 3.499 GB, free: 200 kB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7726/7.139, allocations: 6.533 MB / 3.506 GB, free: 304.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/7.139, allocations: 0 / 3.506 GB, free: 304.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005258/7.144, allocations: 1.701 MB / 3.507 GB, free: 304 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001972/7.146, allocations: 0.6545 MB / 3.508 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007281/7.147, allocations: 1.812 kB / 3.508 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002133/7.149, allocations: 103.7 kB / 3.508 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003831/7.15, allocations: 105.5 kB / 3.508 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003016/7.15, allocations: 88.64 kB / 3.508 GB, free: 303.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.004133/7.154, allocations: 1.757 MB / 3.51 GB, free: 303.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.91e-07/7.154, allocations: 0 / 3.51 GB, free: 303.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005604/7.16, allocations: 0.7627 MB / 3.511 GB, free: 303.7 MB / 1.151 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.01164/7.171, allocations: 3.867 MB / 3.514 GB, free: 302.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00357/7.175, allocations: 1.719 MB / 3.516 GB, free: 302.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/7.175, allocations: 2.969 kB / 3.516 GB, free: 302.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001865/7.177, allocations: 1.221 MB / 3.517 GB, free: 301.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003023/7.18, allocations: 433.5 kB / 3.518 GB, free: 301.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/7.191, allocations: 3.239 MB / 3.521 GB, free: 300.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/7.192, allocations: 1.544 MB / 3.522 GB, free: 300.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002981/7.195, allocations: 0.6458 MB / 3.523 GB, free: 300.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/7.197, allocations: 0.9131 MB / 3.524 GB, free: 300.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.233e-06/7.197, allocations: 0 / 3.524 GB, free: 300.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1123/7.309, allocations: 54.42 MB / 3.577 GB, free: 298.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/7.309, allocations: 161.8 kB / 3.577 GB, free: 298.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.936/11.25, allocations: 0 / 3.577 GB, free: 298.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat does not exist to compare? outputFormat=mat