Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.191/2.191, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001116/0.001116, allocations: 168.9 kB / 496.1 MB, free: 12.85 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.424/1.424, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0009689/0.000969, allocations: 103.5 kB / 0.9318 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.423e-05/4.468e-05, allocations: 11.98 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2748, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.084/5.358, allocations: 1.939 GB / 3.158 GB, free: 371.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/5.359, allocations: 83.95 kB / 3.158 GB, free: 371.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.6402/5.999, allocations: 325.9 MB / 3.476 GB, free: 40.37 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.064e-06/5.999, allocations: 0 / 3.476 GB, free: 40.37 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002828/5.999, allocations: 48 kB / 3.476 GB, free: 40.32 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.005049/6.004, allocations: 2.122 MB / 3.478 GB, free: 38.14 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/6.004, allocations: 8.031 kB / 3.478 GB, free: 38.13 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005704/6.005, allocations: 240.6 kB / 3.479 GB, free: 37.89 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003836/6.009, allocations: 0.5511 MB / 3.479 GB, free: 37.33 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004165/6.013, allocations: 2.173 MB / 3.481 GB, free: 35.11 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.716e-05/6.013, allocations: 127.2 kB / 3.481 GB, free: 34.98 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003543/6.014, allocations: 160 kB / 3.482 GB, free: 34.83 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003288/6.017, allocations: 1.795 MB / 3.483 GB, free: 32.98 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/6.017, allocations: 3.938 kB / 3.483 GB, free: 32.98 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002274/6.017, allocations: 72 kB / 3.483 GB, free: 32.91 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/6.017, allocations: 43.98 kB / 3.484 GB, free: 32.86 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/6.02, allocations: 1.906 MB / 3.485 GB, free: 30.95 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.01137/6.031, allocations: 6.194 MB / 3.491 GB, free: 24.55 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/6.034, allocations: 1.887 MB / 3.493 GB, free: 22.59 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008276/6.035, allocations: 0.6674 MB / 3.494 GB, free: 21.92 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005855/6.035, allocations: 429.7 kB / 3.494 GB, free: 21.43 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001244/6.037, allocations: 0.8895 MB / 3.495 GB, free: 20.52 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 2.865e-06/6.037, allocations: 0 / 3.495 GB, free: 20.52 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.003532/6.04, allocations: 1.615 MB / 3.497 GB, free: 18.88 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/6.04, allocations: 252.6 kB / 3.497 GB, free: 18.57 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/6.044, allocations: 2.418 MB / 3.499 GB, free: 16.15 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001822/6.044, allocations: 57.7 kB / 3.499 GB, free: 16.09 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000645/6.044, allocations: 0.8825 MB / 3.5 GB, free: 15.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003457/6.045, allocations: 453.3 kB / 3.501 GB, free: 14.75 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.508e-05/6.045, allocations: 24 kB / 3.501 GB, free: 14.72 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.448e-05/6.045, allocations: 357.9 kB / 3.501 GB, free: 14.37 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007714/6.046, allocations: 490.5 kB / 3.502 GB, free: 13.89 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009139/6.047, allocations: 0.7047 MB / 3.502 GB, free: 13.12 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008482/6.048, allocations: 0.5641 MB / 3.503 GB, free: 12.55 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/6.048, allocations: 0 / 3.503 GB, free: 12.55 MB / 1.167 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003192/6.051, allocations: 1.588 MB / 3.504 GB, free: 10.94 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/6.051, allocations: 4 kB / 3.504 GB, free: 10.94 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/6.051, allocations: 3.953 kB / 3.504 GB, free: 10.93 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/6.052, allocations: 212.2 kB / 3.505 GB, free: 10.71 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/6.053, allocations: 311.6 kB / 3.505 GB, free: 10.41 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004416/6.058, allocations: 6.807 MB / 3.511 GB, free: 2.922 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/6.06, allocations: 167 kB / 3.512 GB, free: 2.758 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/6.06, allocations: 67.97 kB / 3.512 GB, free: 2.691 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 (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.0005121/6.06, allocations: 180.7 kB / 3.512 GB, free: 2.508 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007775/6.061, allocations: 189.7 kB / 3.512 GB, free: 2.32 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004353/6.065, allocations: 2.02 MB / 3.514 GB, free: 276 kB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/6.065, allocations: 16 kB / 3.514 GB, free: 260 kB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/6.065, allocations: 7.953 kB / 3.514 GB, free: 252 kB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/6.066, allocations: 11.97 kB / 3.514 GB, free: 240 kB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6848/6.75, allocations: 4.13 MB / 3.518 GB, free: 309.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/6.75, allocations: 0.5156 kB / 3.518 GB, free: 309.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/6.752, allocations: 331.4 kB / 3.518 GB, free: 309.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009403/6.753, allocations: 206.4 kB / 3.519 GB, free: 309.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/6.753, allocations: 47.11 kB / 3.519 GB, free: 309.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004523/6.758, allocations: 6.828 MB / 3.525 GB, free: 303.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/6.758, allocations: 1.297 kB / 3.525 GB, free: 303.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004501/6.762, allocations: 1.79 MB / 3.527 GB, free: 303.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/6.764, allocations: 0.6668 MB / 3.528 GB, free: 303.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/6.764, allocations: 29.42 kB / 3.528 GB, free: 303.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/6.766, allocations: 141.4 kB / 3.528 GB, free: 303.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003005/6.766, allocations: 105.4 kB / 3.528 GB, free: 303.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/6.766, allocations: 86.75 kB / 3.528 GB, free: 303.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002982/6.769, allocations: 1.915 MB / 3.53 GB, free: 303.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.21e-07/6.769, allocations: 0 / 3.53 GB, free: 303.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002747/6.772, allocations: 0.8288 MB / 3.531 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.006618/6.778, allocations: 3.842 MB / 3.535 GB, free: 302.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002577/6.781, allocations: 1.798 MB / 3.536 GB, free: 301.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/6.781, allocations: 2.594 kB / 3.536 GB, free: 301.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/6.783, allocations: 1.285 MB / 3.538 GB, free: 300.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/6.785, allocations: 468.1 kB / 3.538 GB, free: 300.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008648/6.794, allocations: 3.479 MB / 3.541 GB, free: 300.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/6.795, allocations: 1.552 MB / 3.543 GB, free: 299.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002678/6.798, allocations: 0.6647 MB / 3.544 GB, free: 299.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/6.799, allocations: 0.9117 MB / 3.544 GB, free: 299.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.092e-06/6.799, allocations: 1.312 kB / 3.544 GB, free: 299.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1282/6.928, allocations: 70.26 MB / 3.613 GB, free: 297.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/6.928, allocations: 248.1 kB / 3.613 GB, free: 296.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.639/11.57, allocations: 0 / 3.613 GB, free: 296.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat does not exist to compare? outputFormat=mat