Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",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.153/2.153, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001101/0.001101, allocations: 173.1 kB / 498.1 MB, free: 5.738 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.466/1.466, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.0009006/0.0009001, allocations: 112.1 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.0004352, allocations: 12.86 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.289, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.358/4.647, allocations: 1.938 GB / 3.161 GB, free: 48.58 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/4.648, allocations: 90.52 kB / 3.161 GB, free: 48.54 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.381/6.029, allocations: 326.4 MB / 3.48 GB, free: 198.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.777e-06/6.029, allocations: 0 / 3.48 GB, free: 198.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003324/6.029, allocations: 48 kB / 3.48 GB, free: 198.4 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.007552/6.037, allocations: 2.628 MB / 3.483 GB, free: 195.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/6.037, allocations: 8.031 kB / 3.483 GB, free: 195.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008763/6.038, allocations: 244.6 kB / 3.483 GB, free: 195.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004303/6.042, allocations: 0.5512 MB / 3.484 GB, free: 194.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005317/6.048, allocations: 2.184 MB / 3.486 GB, free: 192.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/6.048, allocations: 127.2 kB / 3.486 GB, free: 192.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006358/6.048, allocations: 164 kB / 3.486 GB, free: 192.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00478/6.053, allocations: 1.865 MB / 3.488 GB, free: 190.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.772e-05/6.053, allocations: 0 / 3.488 GB, free: 190.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002541/6.054, allocations: 79.95 kB / 3.488 GB, free: 190.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.924e-05/6.054, allocations: 40 kB / 3.488 GB, free: 190.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003455/6.057, allocations: 2.038 MB / 3.49 GB, free: 188.3 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.01047/6.067, allocations: 6.2 MB / 3.496 GB, free: 181.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002767/6.07, allocations: 1.996 MB / 3.498 GB, free: 179.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005597/6.071, allocations: 429.7 kB / 3.498 GB, free: 179.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00147/6.072, allocations: 0.9387 MB / 3.499 GB, free: 178.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 3.015e-06/6.072, allocations: 0 / 3.499 GB, free: 178.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.006429/6.079, allocations: 2.882 MB / 3.502 GB, free: 175.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/6.079, allocations: 252.6 kB / 3.502 GB, free: 175 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003264/6.082, allocations: 2.449 MB / 3.505 GB, free: 172.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002854/6.083, allocations: 61.7 kB / 3.505 GB, free: 172.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006723/6.083, allocations: 0.8747 MB / 3.506 GB, free: 171.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/6.084, allocations: 457.2 kB / 3.506 GB, free: 171.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.591e-05/6.084, allocations: 28 kB / 3.506 GB, free: 171.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.818e-05/6.084, allocations: 345.9 kB / 3.506 GB, free: 170.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009772/6.085, allocations: 0.5413 MB / 3.507 GB, free: 170.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/6.086, allocations: 0.7597 MB / 3.508 GB, free: 169.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/6.087, allocations: 0.6366 MB / 3.508 GB, free: 168.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/6.087, allocations: 0 / 3.508 GB, free: 168.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003547/6.09, allocations: 1.701 MB / 3.51 GB, free: 167.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/6.09, allocations: 8 kB / 3.51 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/6.09, allocations: 0 / 3.51 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/6.091, allocations: 212.1 kB / 3.51 GB, free: 166.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/6.093, allocations: 307.6 kB / 3.51 GB, free: 166.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004745/6.098, allocations: 6.858 MB / 3.517 GB, free: 159 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/6.099, allocations: 166.9 kB / 3.517 GB, free: 158.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/6.1, allocations: 67.95 kB / 3.517 GB, free: 158.8 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 (132): * Single equations (assignments): 127 * 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.001104/6.101, allocations: 482.8 kB / 3.518 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/6.101, allocations: 185.7 kB / 3.518 GB, free: 158.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004232/6.105, allocations: 2.141 MB / 3.52 GB, free: 156 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/6.105, allocations: 16 kB / 3.52 GB, free: 155.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/6.105, allocations: 0 / 3.52 GB, free: 155.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/6.105, allocations: 7.969 kB / 3.52 GB, free: 155.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006981/6.112, allocations: 4.279 MB / 3.524 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/6.112, allocations: 0 / 3.524 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/6.114, allocations: 331.6 kB / 3.525 GB, free: 151.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00087/6.115, allocations: 212 kB / 3.525 GB, free: 151 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/6.115, allocations: 39.97 kB / 3.525 GB, free: 151 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/6.119, allocations: 6.89 MB / 3.532 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/6.119, allocations: 3.984 kB / 3.532 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003719/6.123, allocations: 1.905 MB / 3.533 GB, free: 141.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/6.124, allocations: 0.6777 MB / 3.534 GB, free: 140.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/6.124, allocations: 24 kB / 3.534 GB, free: 140.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/6.126, allocations: 135.7 kB / 3.534 GB, free: 140.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/6.126, allocations: 113.2 kB / 3.534 GB, free: 140.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/6.126, allocations: 83.95 kB / 3.534 GB, free: 140.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002239/6.128, allocations: 1.94 MB / 3.536 GB, free: 138.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.21e-07/6.128, allocations: 0 / 3.536 GB, free: 138.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002382/6.131, allocations: 0.8264 MB / 3.537 GB, free: 137.7 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 (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.006572/6.137, allocations: 4.006 MB / 3.541 GB, free: 133.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003249/6.141, allocations: 1.922 MB / 3.543 GB, free: 131.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/6.141, allocations: 0.5625 kB / 3.543 GB, free: 131.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001817/6.142, allocations: 1.348 MB / 3.544 GB, free: 130.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/6.145, allocations: 472.1 kB / 3.545 GB, free: 129.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0243/6.169, allocations: 15.4 MB / 3.56 GB, free: 113.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008843/6.17, allocations: 1.552 MB / 3.561 GB, free: 112.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002571/6.173, allocations: 0.6646 MB / 3.562 GB, free: 111.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/6.174, allocations: 0.9209 MB / 3.563 GB, free: 110.7 MB / 1.167 GB Notification: Performance of SimCode: time 9.02e-07/6.174, allocations: 0 / 3.563 GB, free: 110.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09651/6.271, allocations: 67.52 MB / 3.629 GB, free: 43.66 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/6.271, allocations: 265.6 kB / 3.629 GB, free: 43.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.628/10.9, allocations: 0 / 3.629 GB, free: 43.3 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat does not exist to compare? outputFormat=mat