Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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_Angles,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",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.373/2.373, allocations: 390.5 MB / 398 MB, free: 10.91 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.001517/0.001517, allocations: 180.8 kB / 491.2 MB, free: 1.566 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.467/1.467, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0009974/0.0009976, allocations: 91.91 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.511e-05/2.515e-05, allocations: 5.719 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.298, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.093/5.391, allocations: 1.938 GB / 3.151 GB, free: 389.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/5.392, allocations: 87.95 kB / 3.151 GB, free: 389.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6211/6.013, allocations: 317.9 MB / 3.461 GB, free: 66.06 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.894e-06/6.013, allocations: 0 / 3.461 GB, free: 66.06 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001763/6.013, allocations: 55.92 kB / 3.461 GB, free: 66 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.003839/6.017, allocations: 2.134 MB / 3.464 GB, free: 63.81 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/6.017, allocations: 8.031 kB / 3.464 GB, free: 63.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003466/6.02, allocations: 0.5551 MB / 3.464 GB, free: 63.25 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003165/6.023, allocations: 2.177 MB / 3.466 GB, free: 61.02 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/6.024, allocations: 55.94 kB / 3.466 GB, free: 60.96 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/6.024, allocations: 104 kB / 3.466 GB, free: 60.86 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002386/6.026, allocations: 1.814 MB / 3.468 GB, free: 59.05 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/6.028, allocations: 1.554 MB / 3.47 GB, free: 57.44 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/6.028, allocations: 7.984 kB / 3.47 GB, free: 57.43 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/6.029, allocations: 0 / 3.47 GB, free: 57.43 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/6.029, allocations: 43.94 kB / 3.47 GB, free: 57.39 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.008226/6.037, allocations: 5.901 MB / 3.475 GB, free: 51.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/6.039, allocations: 1.8 MB / 3.477 GB, free: 49.42 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000676/6.039, allocations: 0.6322 MB / 3.478 GB, free: 48.79 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005258/6.04, allocations: 421.7 kB / 3.478 GB, free: 48.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/6.041, allocations: 0.8385 MB / 3.479 GB, free: 47.44 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 2.655e-06/6.041, allocations: 0 / 3.479 GB, free: 47.44 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003387/6.044, allocations: 1.553 MB / 3.481 GB, free: 45.86 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/6.044, allocations: 252.6 kB / 3.481 GB, free: 45.56 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/6.048, allocations: 2.27 MB / 3.483 GB, free: 43.28 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002274/6.048, allocations: 29.7 kB / 3.483 GB, free: 43.24 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006394/6.048, allocations: 0.8896 MB / 3.484 GB, free: 42.34 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/6.049, allocations: 437.3 kB / 3.484 GB, free: 41.91 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/6.049, allocations: 0 / 3.484 GB, free: 41.91 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.763e-05/6.049, allocations: 349.9 kB / 3.485 GB, free: 41.56 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005836/6.049, allocations: 474.4 kB / 3.485 GB, free: 41.09 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007231/6.05, allocations: 0.6757 MB / 3.486 GB, free: 40.36 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008233/6.051, allocations: 0.5501 MB / 3.486 GB, free: 39.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/6.051, allocations: 0 / 3.486 GB, free: 39.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002818/6.054, allocations: 1.502 MB / 3.488 GB, free: 38.28 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/6.054, allocations: 4 kB / 3.488 GB, free: 38.27 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/6.054, allocations: 0 / 3.488 GB, free: 38.27 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009368/6.055, allocations: 212.1 kB / 3.488 GB, free: 38.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/6.056, allocations: 307.6 kB / 3.488 GB, free: 37.75 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003856/6.06, allocations: 6.534 MB / 3.495 GB, free: 30.63 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/6.062, allocations: 131.1 kB / 3.495 GB, free: 30.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/6.062, allocations: 71.97 kB / 3.495 GB, free: 30.43 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 (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.000344/6.062, allocations: 131.2 kB / 3.495 GB, free: 30.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002698/6.065, allocations: 1.498 MB / 3.496 GB, free: 28.78 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/6.065, allocations: 177.8 kB / 3.497 GB, free: 28.61 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003401/6.069, allocations: 1.917 MB / 3.499 GB, free: 26.66 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/6.069, allocations: 12 kB / 3.499 GB, free: 26.64 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/6.069, allocations: 4 kB / 3.499 GB, free: 26.64 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/6.069, allocations: 11.92 kB / 3.499 GB, free: 26.63 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005557/6.074, allocations: 3.832 MB / 3.502 GB, free: 22.73 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/6.074, allocations: 0 / 3.502 GB, free: 22.73 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/6.076, allocations: 331.6 kB / 3.503 GB, free: 22.41 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000792/6.077, allocations: 200.1 kB / 3.503 GB, free: 22.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.22e-05/6.077, allocations: 23.97 kB / 3.503 GB, free: 22.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003671/6.08, allocations: 6.558 MB / 3.509 GB, free: 15.04 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/6.08, allocations: 0 / 3.509 GB, free: 15.04 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003184/6.084, allocations: 1.705 MB / 3.511 GB, free: 13.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/6.085, allocations: 0.6544 MB / 3.512 GB, free: 12.62 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/6.085, allocations: 0 / 3.512 GB, free: 12.62 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/6.086, allocations: 123.7 kB / 3.512 GB, free: 12.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/6.087, allocations: 109.1 kB / 3.512 GB, free: 12.39 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/6.087, allocations: 87.94 kB / 3.512 GB, free: 12.31 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001924/6.089, allocations: 1.778 MB / 3.514 GB, free: 10.54 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.1e-07/6.089, allocations: 0 / 3.514 GB, free: 10.54 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002573/6.091, allocations: 0.7637 MB / 3.514 GB, free: 9.77 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.005797/6.097, allocations: 3.854 MB / 3.518 GB, free: 5.973 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002378/6.099, allocations: 1.725 MB / 3.52 GB, free: 4.195 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/6.099, allocations: 0.5625 kB / 3.52 GB, free: 4.195 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/6.101, allocations: 1.22 MB / 3.521 GB, free: 2.93 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/6.103, allocations: 433.5 kB / 3.521 GB, free: 2.512 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6518/6.755, allocations: 3.36 MB / 3.525 GB, free: 299.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001826/6.757, allocations: 1.555 MB / 3.526 GB, free: 299.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003088/6.76, allocations: 0.6468 MB / 3.527 GB, free: 299.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002142/6.762, allocations: 0.9291 MB / 3.528 GB, free: 299.1 MB / 1.151 GB Notification: Performance of SimCode: time 8.01e-07/6.762, allocations: 0 / 3.528 GB, free: 299.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/6.891, allocations: 54.88 MB / 3.581 GB, free: 297.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/6.892, allocations: 184 kB / 3.581 GB, free: 297.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.845/10.74, allocations: 0 / 3.581 GB, free: 297.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat does not exist to compare? outputFormat=mat