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.3/2.3, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001074/0.001074, allocations: 176.8 kB / 487.4 MB, free: 5.043 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.708/1.708, allocations: 221.5 MB / 0.7824 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 102.9 kB / 0.9219 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.277e-05/2.278e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3234, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.371/5.694, allocations: 1.938 GB / 3.144 GB, free: 346.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/5.695, allocations: 86.34 kB / 3.144 GB, free: 346.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6065/6.301, allocations: 317.9 MB / 3.454 GB, free: 49.38 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.843e-06/6.301, allocations: 0 / 3.454 GB, free: 49.38 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001594/6.301, allocations: 55.94 kB / 3.454 GB, free: 49.32 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.003677/6.305, allocations: 2.128 MB / 3.456 GB, free: 47.14 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/6.305, allocations: 8.031 kB / 3.456 GB, free: 47.13 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003644/6.309, allocations: 0.5551 MB / 3.457 GB, free: 46.57 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003511/6.312, allocations: 2.185 MB / 3.459 GB, free: 44.34 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-05/6.312, allocations: 56 kB / 3.459 GB, free: 44.28 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/6.313, allocations: 96 kB / 3.459 GB, free: 44.19 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002511/6.315, allocations: 1.818 MB / 3.461 GB, free: 42.37 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/6.318, allocations: 1.551 MB / 3.463 GB, free: 40.77 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/6.318, allocations: 0 / 3.463 GB, free: 40.77 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/6.318, allocations: 4 kB / 3.463 GB, free: 40.76 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/6.318, allocations: 40 kB / 3.463 GB, free: 40.72 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.008168/6.326, allocations: 5.902 MB / 3.468 GB, free: 34.62 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/6.328, allocations: 1.803 MB / 3.47 GB, free: 32.75 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006903/6.328, allocations: 0.6322 MB / 3.471 GB, free: 32.12 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005009/6.329, allocations: 421.7 kB / 3.471 GB, free: 31.63 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/6.33, allocations: 0.8385 MB / 3.472 GB, free: 30.77 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 2.615e-06/6.33, allocations: 4 kB / 3.472 GB, free: 30.77 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003198/6.333, allocations: 1.545 MB / 3.473 GB, free: 29.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/6.333, allocations: 248.6 kB / 3.474 GB, free: 28.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/6.336, allocations: 2.274 MB / 3.476 GB, free: 26.61 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001451/6.336, allocations: 29.7 kB / 3.476 GB, free: 26.58 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006412/6.337, allocations: 0.8896 MB / 3.477 GB, free: 25.68 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/6.337, allocations: 437.3 kB / 3.477 GB, free: 25.24 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.422e-05/6.337, allocations: 4 kB / 3.477 GB, free: 25.24 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.075e-05/6.337, allocations: 349.9 kB / 3.478 GB, free: 24.89 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006302/6.338, allocations: 470.4 kB / 3.478 GB, free: 24.43 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007064/6.339, allocations: 0.6708 MB / 3.479 GB, free: 23.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008202/6.339, allocations: 0.5579 MB / 3.479 GB, free: 23.14 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/6.339, allocations: 0 / 3.479 GB, free: 23.14 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002818/6.342, allocations: 1.498 MB / 3.481 GB, free: 21.61 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/6.342, allocations: 11.94 kB / 3.481 GB, free: 21.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/6.342, allocations: 0 / 3.481 GB, free: 21.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009339/6.343, allocations: 204.2 kB / 3.481 GB, free: 21.39 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/6.345, allocations: 319.6 kB / 3.481 GB, free: 21.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/6.349, allocations: 6.523 MB / 3.488 GB, free: 13.97 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/6.35, allocations: 135.1 kB / 3.488 GB, free: 13.84 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/6.351, allocations: 71.95 kB / 3.488 GB, free: 13.77 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.0003757/6.351, allocations: 124.8 kB / 3.488 GB, free: 13.64 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003069/6.354, allocations: 1.51 MB / 3.489 GB, free: 12.11 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000357/6.355, allocations: 173.8 kB / 3.49 GB, free: 11.93 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/6.358, allocations: 1.906 MB / 3.491 GB, free: 9.996 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/6.358, allocations: 16 kB / 3.491 GB, free: 9.98 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/6.358, allocations: 0 / 3.491 GB, free: 9.98 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/6.358, allocations: 7.969 kB / 3.491 GB, free: 9.973 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006097/6.364, allocations: 3.846 MB / 3.495 GB, free: 6.062 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/6.364, allocations: 0 / 3.495 GB, free: 6.062 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/6.366, allocations: 339.6 kB / 3.495 GB, free: 5.73 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000838/6.367, allocations: 196.1 kB / 3.496 GB, free: 5.523 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.216e-05/6.367, allocations: 35.89 kB / 3.496 GB, free: 5.488 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7287/7.096, allocations: 6.544 MB / 3.502 GB, free: 307.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/7.096, allocations: 2.297 kB / 3.502 GB, free: 307.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004415/7.1, allocations: 1.701 MB / 3.504 GB, free: 306.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/7.102, allocations: 0.6578 MB / 3.504 GB, free: 306.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004446/7.102, allocations: 2.266 kB / 3.504 GB, free: 306.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/7.104, allocations: 112.6 kB / 3.505 GB, free: 306.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003483/7.104, allocations: 107.9 kB / 3.505 GB, free: 306.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002115/7.104, allocations: 86.84 kB / 3.505 GB, free: 306.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003217/7.108, allocations: 1.778 MB / 3.506 GB, free: 306.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.11e-07/7.108, allocations: 3.625 kB / 3.506 GB, free: 306.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003449/7.111, allocations: 0.7597 MB / 3.507 GB, free: 306.6 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.007375/7.119, allocations: 3.862 MB / 3.511 GB, free: 305.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003119/7.122, allocations: 1.72 MB / 3.513 GB, free: 305.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/7.122, allocations: 4.906 kB / 3.513 GB, free: 305.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/7.123, allocations: 1.217 MB / 3.514 GB, free: 304.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/7.126, allocations: 439.1 kB / 3.514 GB, free: 304.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/7.137, allocations: 3.364 MB / 3.518 GB, free: 303.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/7.138, allocations: 1.55 MB / 3.519 GB, free: 303.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003345/7.142, allocations: 0.6455 MB / 3.52 GB, free: 303.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001921/7.143, allocations: 0.9285 MB / 3.521 GB, free: 303.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.293e-06/7.144, allocations: 0 / 3.521 GB, free: 303.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1203/7.264, allocations: 54.89 MB / 3.574 GB, free: 301.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/7.264, allocations: 185.4 kB / 3.574 GB, free: 301.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.924/11.19, allocations: 1.875 kB / 3.574 GB, free: 301.1 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