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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.18/1.18, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.141/2.141, allocations: 409.2 MB / 0.6838 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003508, allocations: 12 kB / 0.8375 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6004/0.6007, allocations: 146.8 MB / 0.9809 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1551/0.7559, allocations: 140.3 MB / 1.118 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01837/0.7743, allocations: 14.19 MB / 1.132 GB, free: 11.43 MB / 0.8888 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.7756, allocations: 27.81 kB / 1.132 GB, free: 11.41 MB / 0.8888 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.777, allocations: 346 kB / 1.132 GB, free: 11.07 MB / 0.8888 GB Notification: Performance of NFTyping.typeBindings: time 0.004214/0.7812, allocations: 1.345 MB / 1.133 GB, free: 9.723 MB / 0.8888 GB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.7843, allocations: 1.098 MB / 1.134 GB, free: 8.641 MB / 0.8888 GB Notification: Performance of NFFlatten.flatten: time 0.003642/0.7879, allocations: 1.604 MB / 1.136 GB, free: 7.031 MB / 0.8888 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003088/0.791, allocations: 1.511 MB / 1.138 GB, free: 5.492 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.7932, allocations: 0.9263 MB / 1.138 GB, free: 4.562 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.7946, allocations: 0.7193 MB / 1.139 GB, free: 3.84 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.0003493/0.795, allocations: 52 kB / 1.139 GB, free: 3.789 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002738/0.7978, allocations: 0.9947 MB / 1.14 GB, free: 2.793 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.000782/0.7986, allocations: 0.5723 MB / 1.141 GB, free: 2.219 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.0006687/0.7992, allocations: 416.4 kB / 1.141 GB, free: 1.805 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.0036/0.8028, allocations: 2.638 MB / 1.144 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8029, allocations: 0 / 1.144 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.496e-06/0.8029, allocations: 0 / 1.144 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001746/0.8031, allocations: 0 / 1.144 GB, free: 15.16 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.005321/0.8084, allocations: 2.456 MB / 1.146 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.8084, allocations: 12.03 kB / 1.146 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005577/0.809, allocations: 248.9 kB / 1.146 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003888/0.8129, allocations: 0.5784 MB / 1.147 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004846/0.8178, allocations: 3.333 MB / 1.15 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.8179, allocations: 131.4 kB / 1.15 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.8181, allocations: 168 kB / 1.15 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003832/0.822, allocations: 1.937 MB / 1.152 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.822, allocations: 0 / 1.152 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.8222, allocations: 76 kB / 1.152 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/0.8222, allocations: 40 kB / 1.152 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003554/0.8258, allocations: 2.128 MB / 1.155 GB, free: 3.887 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01052/0.8363, allocations: 6.408 MB / 1.161 GB, free: 13.22 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003154/0.8395, allocations: 1.872 MB / 1.163 GB, free: 11.35 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/0.8397, allocations: 77.2 kB / 1.163 GB, free: 11.27 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00167/0.8414, allocations: 1.013 MB / 1.164 GB, free: 10.24 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 2.975e-06/0.8414, allocations: 4 kB / 1.164 GB, free: 10.24 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.00667/0.8481, allocations: 3.011 MB / 1.167 GB, free: 7.113 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.8482, allocations: 201.2 kB / 1.167 GB, free: 6.875 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00504/0.8533, allocations: 4.079 MB / 1.171 GB, free: 2.793 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004185/0.8537, allocations: 53.7 kB / 1.171 GB, free: 2.734 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008359/0.8546, allocations: 0.9024 MB / 1.172 GB, free: 1.82 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006489/0.8552, allocations: 480.9 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.836e-05/0.8553, allocations: 28 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.8555, allocations: 353.9 kB / 1.173 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.8569, allocations: 0.5804 MB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.8583, allocations: 0.8047 MB / 1.174 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.8594, allocations: 0.6584 MB / 1.175 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.8594, allocations: 7.938 kB / 1.175 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003783/0.8632, allocations: 1.803 MB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.8633, allocations: 4 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.8633, allocations: 4 kB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.8643, allocations: 204.2 kB / 1.177 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.8658, allocations: 339.5 kB / 1.177 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005252/0.8711, allocations: 6.852 MB / 1.184 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.8728, allocations: 198.8 kB / 1.184 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.8729, allocations: 55.95 kB / 1.184 GB, free: 4.695 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * 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.0009562/0.8739, allocations: 485.5 kB / 1.184 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003742/0.8743, allocations: 193.6 kB / 1.184 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004298/0.8786, allocations: 2.177 MB / 1.187 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.8786, allocations: 20 kB / 1.187 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.8786, allocations: 4 kB / 1.187 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.8787, allocations: 7.969 kB / 1.187 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006544/0.8852, allocations: 3.962 MB / 1.19 GB, free: 13.72 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.8852, allocations: 3.953 kB / 1.19 GB, free: 13.72 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.8867, allocations: 339.8 kB / 1.191 GB, free: 13.39 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.888, allocations: 212.1 kB / 1.191 GB, free: 13.16 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.8882, allocations: 43.97 kB / 1.191 GB, free: 13.12 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005624/0.8938, allocations: 6.886 MB / 1.198 GB, free: 5.566 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.8938, allocations: 128 / 1.198 GB, free: 5.566 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004675/0.8985, allocations: 2.212 MB / 1.2 GB, free: 3.246 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/0.8998, allocations: 0.5292 MB / 1.2 GB, free: 2.695 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.9001, allocations: 39.94 kB / 1.2 GB, free: 2.656 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/0.9015, allocations: 150.1 kB / 1.201 GB, free: 2.512 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/0.9018, allocations: 125.1 kB / 1.201 GB, free: 2.391 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.9019, allocations: 67.95 kB / 1.201 GB, free: 2.324 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.003564/0.9055, allocations: 3.133 MB / 1.204 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9055, allocations: 0 / 1.204 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002017/0.9075, allocations: 0.6664 MB / 1.205 GB, free: 14.53 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.006269/0.9138, allocations: 3.935 MB / 1.208 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003517/0.9174, allocations: 2.074 MB / 1.21 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.9174, allocations: 0.5625 kB / 1.21 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002072/0.9195, allocations: 1.454 MB / 1.212 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/0.9219, allocations: 492.5 kB / 1.212 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03244/0.9544, allocations: 19.87 MB / 1.232 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.9556, allocations: 1.591 MB / 1.233 GB, free: 240 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002093/0.9577, allocations: 0.5248 MB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/0.9588, allocations: 0.8935 MB / 1.235 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/0.9588, allocations: 0 / 1.235 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.738/2.697, allocations: 48.69 MB / 1.282 GB, free: 241.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/2.697, allocations: 271.3 kB / 1.282 GB, free: 241.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.276/7.973, allocations: 0 / 1.282 GB, free: 241.2 MB / 0.9981 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) Environment - environmentSimulation: 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