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/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,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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009234/0.0009235, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.000911/0.0009109, allocations: 177.3 kB / 15.95 MB, free: 216 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.175/1.175, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.136/2.136, allocations: 409.2 MB / 0.6838 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0002785/0.0002785, allocations: 12 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5191, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1316/0.6508, allocations: 140.3 MB / 1.118 GB, free: 9.676 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01617/0.667, allocations: 14.17 MB / 1.132 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009843/0.668, allocations: 27.81 kB / 1.132 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.6691, allocations: 346 kB / 1.132 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003491/0.6726, allocations: 1.339 MB / 1.133 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.6753, allocations: 1.108 MB / 1.134 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002223/0.6775, allocations: 1.58 MB / 1.136 GB, free: 7.094 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001685/0.6792, allocations: 1.511 MB / 1.137 GB, free: 5.555 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.6806, allocations: 0.9263 MB / 1.138 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007653/0.6813, allocations: 0.7076 MB / 1.139 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.6815, allocations: 52 kB / 1.139 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.6835, allocations: 0.9908 MB / 1.14 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004644/0.684, allocations: 0.5606 MB / 1.141 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003064/0.6843, allocations: 408.4 kB / 1.141 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.6865, allocations: 2.634 MB / 1.144 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.6865, allocations: 0 / 1.144 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6865, allocations: 0 / 1.144 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.978e-05/0.6866, allocations: 0 / 1.144 GB, free: 15.26 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.003488/0.6901, allocations: 2.418 MB / 1.146 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.6901, allocations: 8.031 kB / 1.146 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002459/0.6903, allocations: 248.9 kB / 1.146 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003108/0.6935, allocations: 0.5745 MB / 1.147 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003274/0.6967, allocations: 3.321 MB / 1.15 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.388e-05/0.6968, allocations: 123.4 kB / 1.15 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.697, allocations: 172 kB / 1.15 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/0.6996, allocations: 1.921 MB / 1.152 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.6997, allocations: 0 / 1.152 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.6998, allocations: 83.98 kB / 1.152 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.6999, allocations: 40 kB / 1.152 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/0.7028, allocations: 2.081 MB / 1.154 GB, free: 4.098 MB / 0.9044 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.007433/0.7103, allocations: 6.238 MB / 1.16 GB, free: 13.6 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/0.7132, allocations: 1.841 MB / 1.162 GB, free: 11.76 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.7134, allocations: 77.22 kB / 1.162 GB, free: 11.69 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001539/0.715, allocations: 0.9972 MB / 1.163 GB, free: 10.67 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 2.705e-06/0.715, allocations: 0 / 1.163 GB, free: 10.67 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.005877/0.7209, allocations: 2.964 MB / 1.166 GB, free: 7.59 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/0.721, allocations: 201.2 kB / 1.166 GB, free: 7.352 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003943/0.7249, allocations: 4.045 MB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.7251, allocations: 57.7 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006644/0.7258, allocations: 0.8827 MB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/0.7261, allocations: 481 kB / 1.172 GB, free: 1.867 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.7262, allocations: 24 kB / 1.172 GB, free: 1.844 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.7263, allocations: 353.9 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009621/0.7273, allocations: 0.5648 MB / 1.173 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.7284, allocations: 0.7813 MB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.7295, allocations: 0.6427 MB / 1.174 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7295, allocations: 3.938 kB / 1.174 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003297/0.7328, allocations: 1.76 MB / 1.176 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.7329, allocations: 4 kB / 1.176 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.7329, allocations: 0 / 1.176 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009855/0.7339, allocations: 224.2 kB / 1.176 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.7353, allocations: 323.6 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004913/0.7402, allocations: 6.851 MB / 1.183 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.7417, allocations: 186.9 kB / 1.183 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.481e-05/0.7418, allocations: 51.95 kB / 1.183 GB, free: 5.352 MB / 0.9356 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 (144): * Single equations (assignments): 139 * 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.0008268/0.7426, allocations: 485.4 kB / 1.184 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.7429, allocations: 189.7 kB / 1.184 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003891/0.7468, allocations: 2.145 MB / 1.186 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.7468, allocations: 16 kB / 1.186 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7468, allocations: 3.938 kB / 1.186 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.7468, allocations: 7.969 kB / 1.186 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005447/0.7523, allocations: 3.922 MB / 1.19 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.7523, allocations: 4.062 kB / 1.19 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/0.7536, allocations: 327.5 kB / 1.19 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008647/0.7545, allocations: 220.1 kB / 1.19 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.512e-05/0.7546, allocations: 39.97 kB / 1.19 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004637/0.7592, allocations: 6.882 MB / 1.197 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7593, allocations: 0 / 1.197 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003633/0.7629, allocations: 2.178 MB / 1.199 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008728/0.7638, allocations: 0.5292 MB / 1.2 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/0.764, allocations: 35.94 kB / 1.2 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.7652, allocations: 141.9 kB / 1.2 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/0.7655, allocations: 129 kB / 1.2 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/0.7656, allocations: 71.95 kB / 1.2 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002997/0.7686, allocations: 3.1 MB / 1.203 GB, free: 4 kB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.7686, allocations: 0 / 1.203 GB, free: 4 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001601/0.7702, allocations: 0.6625 MB / 1.204 GB, free: 15.34 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (149): * Single equations (assignments): 139 * 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: 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.005253/0.7755, allocations: 3.887 MB / 1.207 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002958/0.7785, allocations: 2.043 MB / 1.209 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.7785, allocations: 0.5625 kB / 1.209 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001811/0.7803, allocations: 1.43 MB / 1.211 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/0.7823, allocations: 497.2 kB / 1.211 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02538/0.8077, allocations: 19.51 MB / 1.23 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.8088, allocations: 1.576 MB / 1.232 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001869/0.8107, allocations: 0.5403 MB / 1.232 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/0.8117, allocations: 0.8975 MB / 1.233 GB, free: 120 kB / 0.9825 GB Notification: Performance of SimCode: time 9.82e-07/0.8117, allocations: 4 kB / 1.233 GB, free: 116 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.15/2.962, allocations: 48.14 MB / 1.28 GB, free: 243 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/2.962, allocations: 257.5 kB / 1.281 GB, free: 242.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.036/6.999, allocations: 14.44 kB / 1.281 GB, free: 242.6 MB / 0.9981 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) Environment - environmentSimulation: 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