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.28/2.28, allocations: 390.5 MB / 398 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.001079/0.001079, allocations: 176.9 kB / 491.2 MB, free: 1.621 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.448/1.448, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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.001006/0.001006, allocations: 95.83 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.731e-05/1.733e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2842, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.042/5.326, allocations: 1.938 GB / 3.151 GB, free: 389.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/5.326, allocations: 87.95 kB / 3.151 GB, free: 389.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6345/5.961, allocations: 322.3 MB / 3.465 GB, free: 61.65 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.063e-06/5.961, allocations: 4 kB / 3.465 GB, free: 61.65 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002473/5.961, allocations: 47.94 kB / 3.465 GB, free: 61.6 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.005375/5.966, allocations: 2.115 MB / 3.467 GB, free: 59.43 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/5.967, allocations: 8.031 kB / 3.467 GB, free: 59.42 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004135/5.971, allocations: 0.5473 MB / 3.468 GB, free: 58.87 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003938/5.975, allocations: 2.169 MB / 3.47 GB, free: 56.65 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.577e-05/5.975, allocations: 55.95 kB / 3.47 GB, free: 56.59 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004542/5.975, allocations: 96 kB / 3.47 GB, free: 56.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003232/5.978, allocations: 1.81 MB / 3.472 GB, free: 54.69 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003769/5.982, allocations: 1.542 MB / 3.474 GB, free: 53.09 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/5.982, allocations: 4 kB / 3.474 GB, free: 53.09 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003161/5.983, allocations: 4 kB / 3.474 GB, free: 53.09 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.994e-05/5.983, allocations: 40 kB / 3.474 GB, free: 53.05 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.01233/5.995, allocations: 5.716 MB / 3.479 GB, free: 47.14 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002562/5.998, allocations: 1.773 MB / 3.481 GB, free: 45.29 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/5.999, allocations: 0.6361 MB / 3.482 GB, free: 44.64 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006886/5.999, allocations: 425.7 kB / 3.482 GB, free: 44.16 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001448/6.001, allocations: 0.8434 MB / 3.483 GB, free: 43.29 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 9.397e-06/6.001, allocations: 0 / 3.483 GB, free: 43.29 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.004236/6.005, allocations: 1.553 MB / 3.484 GB, free: 41.71 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.124e-05/6.005, allocations: 248.6 kB / 3.485 GB, free: 41.41 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00429/6.01, allocations: 2.244 MB / 3.487 GB, free: 39.16 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003348/6.01, allocations: 29.7 kB / 3.487 GB, free: 39.12 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009781/6.011, allocations: 0.8737 MB / 3.488 GB, free: 38.23 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004954/6.012, allocations: 441.3 kB / 3.488 GB, free: 37.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-05/6.012, allocations: 0 / 3.488 GB, free: 37.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001217/6.012, allocations: 353.9 kB / 3.488 GB, free: 37.45 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006828/6.012, allocations: 466.4 kB / 3.489 GB, free: 36.99 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007839/6.013, allocations: 0.6709 MB / 3.489 GB, free: 36.25 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009138/6.014, allocations: 0.5541 MB / 3.49 GB, free: 35.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/6.014, allocations: 0 / 3.49 GB, free: 35.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003163/6.017, allocations: 1.495 MB / 3.491 GB, free: 34.18 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/6.017, allocations: 4 kB / 3.491 GB, free: 34.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/6.017, allocations: 0 / 3.491 GB, free: 34.18 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009946/6.018, allocations: 216.1 kB / 3.492 GB, free: 33.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/6.02, allocations: 303.5 kB / 3.492 GB, free: 33.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004082/6.024, allocations: 6.523 MB / 3.498 GB, free: 26.55 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/6.025, allocations: 123.1 kB / 3.498 GB, free: 26.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/6.026, allocations: 67.91 kB / 3.498 GB, free: 26.36 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.0003598/6.026, allocations: 130 kB / 3.499 GB, free: 26.23 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003066/6.029, allocations: 1.506 MB / 3.5 GB, free: 24.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005389/6.03, allocations: 173.8 kB / 3.5 GB, free: 24.53 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003821/6.033, allocations: 1.909 MB / 3.502 GB, free: 22.59 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/6.033, allocations: 12 kB / 3.502 GB, free: 22.57 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/6.034, allocations: 4 kB / 3.502 GB, free: 22.57 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/6.034, allocations: 15.92 kB / 3.502 GB, free: 22.55 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006733/6.04, allocations: 3.822 MB / 3.506 GB, free: 18.67 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/6.04, allocations: 0 / 3.506 GB, free: 18.67 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/6.042, allocations: 319.5 kB / 3.506 GB, free: 18.36 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009079/6.043, allocations: 216.1 kB / 3.506 GB, free: 18.13 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/6.043, allocations: 27.91 kB / 3.506 GB, free: 18.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003976/6.047, allocations: 6.554 MB / 3.513 GB, free: 10.97 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/6.047, allocations: 0 / 3.513 GB, free: 10.97 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003634/6.05, allocations: 1.701 MB / 3.514 GB, free: 9.234 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/6.052, allocations: 0.6544 MB / 3.515 GB, free: 8.559 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005568/6.052, allocations: 0 / 3.515 GB, free: 8.559 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/6.054, allocations: 99.77 kB / 3.515 GB, free: 8.461 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/6.054, allocations: 109.2 kB / 3.515 GB, free: 8.352 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/6.054, allocations: 83.95 kB / 3.515 GB, free: 8.27 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002562/6.057, allocations: 1.761 MB / 3.517 GB, free: 6.512 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/6.057, allocations: 0 / 3.517 GB, free: 6.512 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002987/6.06, allocations: 0.7597 MB / 3.518 GB, free: 5.75 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.006805/6.067, allocations: 3.864 MB / 3.522 GB, free: 1.949 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002686/6.07, allocations: 1.721 MB / 3.523 GB, free: 184 kB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.567e-06/6.07, allocations: 0.5625 kB / 3.523 GB, free: 184 kB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.6294/6.699, allocations: 1.213 MB / 3.525 GB, free: 300.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/6.702, allocations: 429.4 kB / 3.525 GB, free: 300.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009769/6.712, allocations: 3.241 MB / 3.528 GB, free: 299.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00162/6.713, allocations: 1.544 MB / 3.53 GB, free: 299.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003168/6.717, allocations: 0.6558 MB / 3.53 GB, free: 299.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001712/6.718, allocations: 0.9154 MB / 3.531 GB, free: 299.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.132e-06/6.718, allocations: 0 / 3.531 GB, free: 299.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1297/6.848, allocations: 54.4 MB / 3.584 GB, free: 297.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/6.848, allocations: 175 kB / 3.584 GB, free: 297.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.83/10.68, allocations: 0 / 3.584 GB, free: 297.5 MB / 1.151 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