Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 387.1 MB / 399.7 MB, free: 9.484 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: 169 kB / 492.3 MB, free: 0.6445 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.489/1.489, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0009392/0.0009393, allocations: 87.95 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.987e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.266, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.785/5.051, allocations: 1.938 GB / 3.151 GB, free: 332.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/5.051, allocations: 83.77 kB / 3.151 GB, free: 332.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.632/5.683, allocations: 321.2 MB / 3.465 GB, free: 22.23 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.144e-06/5.683, allocations: 4 kB / 3.465 GB, free: 22.23 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002516/5.683, allocations: 51.94 kB / 3.465 GB, free: 22.18 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.005396/5.689, allocations: 2.134 MB / 3.467 GB, free: 19.99 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/5.689, allocations: 8.031 kB / 3.467 GB, free: 19.98 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006595/5.69, allocations: 236.6 kB / 3.467 GB, free: 19.74 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004204/5.694, allocations: 0.5551 MB / 3.468 GB, free: 19.18 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004498/5.698, allocations: 2.181 MB / 3.47 GB, free: 16.95 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/5.698, allocations: 123.3 kB / 3.47 GB, free: 16.83 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004674/5.699, allocations: 175.9 kB / 3.47 GB, free: 16.66 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004022/5.703, allocations: 1.783 MB / 3.472 GB, free: 14.82 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/5.703, allocations: 0 / 3.472 GB, free: 14.82 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000266/5.703, allocations: 72 kB / 3.472 GB, free: 14.75 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/5.703, allocations: 40 kB / 3.472 GB, free: 14.71 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/5.706, allocations: 1.902 MB / 3.474 GB, free: 12.8 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.01129/5.718, allocations: 6.224 MB / 3.48 GB, free: 6.371 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/5.72, allocations: 1.883 MB / 3.482 GB, free: 4.402 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008888/5.721, allocations: 0.6679 MB / 3.482 GB, free: 3.738 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005933/5.721, allocations: 425.7 kB / 3.483 GB, free: 3.246 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001458/5.723, allocations: 0.888 MB / 3.483 GB, free: 2.34 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 7.083e-06/5.723, allocations: 4 kB / 3.483 GB, free: 2.336 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003919/5.727, allocations: 1.612 MB / 3.485 GB, free: 0.6992 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.652e-05/5.727, allocations: 248.6 kB / 3.485 GB, free: 412 kB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.77/6.497, allocations: 2.439 MB / 3.488 GB, free: 304.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0004605/6.498, allocations: 60.8 kB / 3.488 GB, free: 304.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007579/6.498, allocations: 0.8873 MB / 3.489 GB, free: 304.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004398/6.499, allocations: 453.4 kB / 3.489 GB, free: 304.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/6.499, allocations: 21.75 kB / 3.489 GB, free: 304.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/6.499, allocations: 352.8 kB / 3.489 GB, free: 304.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008673/6.5, allocations: 495.3 kB / 3.49 GB, free: 304.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/6.501, allocations: 0.698 MB / 3.491 GB, free: 304.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009755/6.502, allocations: 0.5683 MB / 3.491 GB, free: 304.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/6.502, allocations: 1.094 kB / 3.491 GB, free: 304.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003769/6.506, allocations: 1.59 MB / 3.493 GB, free: 303.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/6.506, allocations: 6.453 kB / 3.493 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/6.506, allocations: 0 / 3.493 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/6.507, allocations: 212.4 kB / 3.493 GB, free: 303.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/6.509, allocations: 312.5 kB / 3.493 GB, free: 303.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004776/6.513, allocations: 6.805 MB / 3.5 GB, free: 297.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/6.515, allocations: 169.1 kB / 3.5 GB, free: 297.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/6.515, allocations: 62.55 kB / 3.5 GB, free: 297.5 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.0003508/6.516, allocations: 183.9 kB / 3.5 GB, free: 297.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/6.516, allocations: 186.5 kB / 3.5 GB, free: 297.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004569/6.521, allocations: 2.033 MB / 3.502 GB, free: 297.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/6.521, allocations: 13.88 kB / 3.502 GB, free: 297.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/6.521, allocations: 10.64 kB / 3.502 GB, free: 297.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/6.521, allocations: 7.453 kB / 3.502 GB, free: 297.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007561/6.528, allocations: 4.14 MB / 3.506 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/6.528, allocations: 0.9375 kB / 3.506 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/6.53, allocations: 332.8 kB / 3.507 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000938/6.531, allocations: 205.4 kB / 3.507 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/6.531, allocations: 49.14 kB / 3.507 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0044/6.535, allocations: 6.839 MB / 3.514 GB, free: 290.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/6.535, allocations: 1.531 kB / 3.514 GB, free: 290.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003843/6.539, allocations: 1.788 MB / 3.515 GB, free: 290 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/6.541, allocations: 0.6732 MB / 3.516 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002707/6.541, allocations: 23.22 kB / 3.516 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/6.542, allocations: 135.3 kB / 3.516 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/6.543, allocations: 119.6 kB / 3.516 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/6.543, allocations: 80.73 kB / 3.516 GB, free: 289.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002863/6.546, allocations: 1.933 MB / 3.518 GB, free: 289.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.31e-07/6.546, allocations: 0 / 3.518 GB, free: 289.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00272/6.548, allocations: 0.8236 MB / 3.519 GB, free: 289.7 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.007054/6.555, allocations: 3.845 MB / 3.523 GB, free: 288.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003355/6.559, allocations: 1.803 MB / 3.525 GB, free: 288.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/6.559, allocations: 3 kB / 3.525 GB, free: 288.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002005/6.561, allocations: 1.283 MB / 3.526 GB, free: 287.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/6.564, allocations: 471.2 kB / 3.526 GB, free: 287.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/6.575, allocations: 3.496 MB / 3.53 GB, free: 286.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/6.577, allocations: 1.559 MB / 3.531 GB, free: 286 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003536/6.58, allocations: 0.6613 MB / 3.532 GB, free: 286 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002436/6.583, allocations: 0.9244 MB / 3.533 GB, free: 286 MB / 1.151 GB Notification: Performance of SimCode: time 1.593e-06/6.583, allocations: 1 kB / 3.533 GB, free: 286 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1247/6.708, allocations: 70.53 MB / 3.602 GB, free: 283.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/6.708, allocations: 226.8 kB / 3.602 GB, free: 283.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.462/11.17, allocations: 0 / 3.602 GB, free: 283.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat does not exist to compare? outputFormat=mat