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.284/2.284, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001026/0.001027, allocations: 180.8 kB / 496.1 MB, free: 12.87 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.451/1.451, 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.0009667/0.0009667, allocations: 87.89 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.079e-05/4.093e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2471, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.944/5.192, allocations: 1.939 GB / 3.158 GB, free: 319.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/5.192, allocations: 91.94 kB / 3.158 GB, free: 319.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.6318/5.824, allocations: 321.2 MB / 3.472 GB, free: 4.332 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.913e-06/5.824, allocations: 0 / 3.472 GB, free: 4.332 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002246/5.824, allocations: 51.98 kB / 3.472 GB, free: 4.281 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.004268/5.828, allocations: 2.138 MB / 3.474 GB, free: 2.086 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/5.828, allocations: 12.03 kB / 3.474 GB, free: 2.074 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000478/5.829, allocations: 236.6 kB / 3.474 GB, free: 1.832 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00371/5.833, allocations: 0.5473 MB / 3.475 GB, free: 1.281 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6531/6.486, allocations: 2.177 MB / 3.477 GB, free: 312.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/6.486, allocations: 129.4 kB / 3.477 GB, free: 312.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002928/6.486, allocations: 162.9 kB / 3.477 GB, free: 312.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003971/6.49, allocations: 1.789 MB / 3.479 GB, free: 312.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/6.49, allocations: 0 / 3.479 GB, free: 312.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/6.49, allocations: 76.08 kB / 3.479 GB, free: 312.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.761e-05/6.491, allocations: 39.97 kB / 3.479 GB, free: 312.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003556/6.494, allocations: 1.908 MB / 3.481 GB, free: 312.7 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.01245/6.507, allocations: 6.217 MB / 3.487 GB, free: 311.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/6.51, allocations: 1.875 MB / 3.489 GB, free: 310.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/6.511, allocations: 0.6737 MB / 3.489 GB, free: 310.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005723/6.511, allocations: 421.8 kB / 3.49 GB, free: 310.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001612/6.513, allocations: 0.887 MB / 3.491 GB, free: 310.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 3.316e-06/6.513, allocations: 0 / 3.491 GB, free: 310.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.00426/6.517, allocations: 1.625 MB / 3.492 GB, free: 310.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/6.517, allocations: 248 kB / 3.492 GB, free: 309.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004915/6.522, allocations: 2.446 MB / 3.495 GB, free: 309.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003957/6.523, allocations: 53.27 kB / 3.495 GB, free: 309.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009212/6.523, allocations: 0.8812 MB / 3.496 GB, free: 309.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005506/6.524, allocations: 464.8 kB / 3.496 GB, free: 309.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-05/6.524, allocations: 19.97 kB / 3.496 GB, free: 309.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.725e-05/6.524, allocations: 350.2 kB / 3.497 GB, free: 308.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008634/6.525, allocations: 497.6 kB / 3.497 GB, free: 308.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/6.526, allocations: 0.7021 MB / 3.498 GB, free: 308.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/6.527, allocations: 0.566 MB / 3.498 GB, free: 308.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/6.527, allocations: 2.875 kB / 3.498 GB, free: 308.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003942/6.531, allocations: 1.594 MB / 3.5 GB, free: 308.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/6.531, allocations: 5.344 kB / 3.5 GB, free: 308.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/6.531, allocations: 5.312 kB / 3.5 GB, free: 308.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/6.532, allocations: 204.4 kB / 3.5 GB, free: 308.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/6.534, allocations: 316.3 kB / 3.5 GB, free: 308.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004688/6.539, allocations: 6.798 MB / 3.507 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/6.541, allocations: 175.6 kB / 3.507 GB, free: 302.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/6.541, allocations: 67.02 kB / 3.507 GB, free: 302.1 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.0003768/6.541, allocations: 174.9 kB / 3.507 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004135/6.542, allocations: 184.7 kB / 3.508 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005027/6.547, allocations: 2.031 MB / 3.509 GB, free: 301.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/6.547, allocations: 18.16 kB / 3.51 GB, free: 301.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/6.547, allocations: 2.062 kB / 3.51 GB, free: 301.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/6.547, allocations: 8.359 kB / 3.51 GB, free: 301.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009695/6.557, allocations: 4.145 MB / 3.514 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/6.557, allocations: 0 / 3.514 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/6.558, allocations: 332 kB / 3.514 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/6.559, allocations: 218.6 kB / 3.514 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/6.559, allocations: 45.92 kB / 3.514 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005395/6.565, allocations: 6.819 MB / 3.521 GB, free: 295 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/6.565, allocations: 4.547 kB / 3.521 GB, free: 295 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00484/6.57, allocations: 1.794 MB / 3.523 GB, free: 294.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00205/6.572, allocations: 0.6689 MB / 3.523 GB, free: 294.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006529/6.572, allocations: 26.73 kB / 3.523 GB, free: 294.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/6.574, allocations: 137.6 kB / 3.523 GB, free: 294.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003451/6.575, allocations: 114.5 kB / 3.523 GB, free: 294.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002523/6.575, allocations: 84.42 kB / 3.524 GB, free: 294.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003859/6.579, allocations: 1.931 MB / 3.525 GB, free: 294.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.7e-07/6.579, allocations: 0 / 3.525 GB, free: 294.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003686/6.582, allocations: 0.8303 MB / 3.526 GB, free: 294.3 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.008946/6.591, allocations: 3.854 MB / 3.53 GB, free: 293.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003468/6.595, allocations: 1.799 MB / 3.532 GB, free: 292.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/6.595, allocations: 6.844 kB / 3.532 GB, free: 292.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002098/6.597, allocations: 1.282 MB / 3.533 GB, free: 292.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003302/6.6, allocations: 466.4 kB / 3.533 GB, free: 292.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/6.612, allocations: 3.495 MB / 3.537 GB, free: 291.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/6.613, allocations: 1.558 MB / 3.538 GB, free: 290.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003461/6.617, allocations: 0.6611 MB / 3.539 GB, free: 290.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001848/6.619, allocations: 0.9242 MB / 3.54 GB, free: 290.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.172e-06/6.619, allocations: 0 / 3.54 GB, free: 290.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1177/6.736, allocations: 70.52 MB / 3.609 GB, free: 288.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/6.737, allocations: 246.2 kB / 3.609 GB, free: 287.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.227/10.96, allocations: 0 / 3.609 GB, free: 287.8 MB / 1.167 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