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.0009815/0.0009815, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001198/0.001199, allocations: 168.7 kB / 15.95 MB, free: 204 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.334/1.334, allocations: 223.2 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.408/2.408, allocations: 409.4 MB / 0.684 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003406, allocations: 11.94 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7019/0.7022, allocations: 146.8 MB / 0.9811 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1632/0.8655, allocations: 151.8 MB / 1.129 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01835/0.8839, allocations: 15.96 MB / 1.145 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.8853, allocations: 31.81 kB / 1.145 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.8866, allocations: 385.2 kB / 1.145 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003924/0.8905, allocations: 1.336 MB / 1.147 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.8936, allocations: 1.103 MB / 1.148 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003256/0.8968, allocations: 2.575 MB / 1.15 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/0.8989, allocations: 1.503 MB / 1.152 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00183/0.9007, allocations: 0.9998 MB / 1.153 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.9018, allocations: 0.8594 MB / 1.154 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.9019, allocations: 48 kB / 1.154 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/0.9044, allocations: 1.018 MB / 1.155 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005908/0.905, allocations: 0.5956 MB / 1.155 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004693/0.9055, allocations: 424.4 kB / 1.156 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003025/0.9085, allocations: 2.646 MB / 1.158 GB, free: 496 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.9086, allocations: 3.938 kB / 1.158 GB, free: 492 kB / 0.9044 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9086, allocations: 0 / 1.158 GB, free: 492 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.857e-05/0.9086, allocations: 0 / 1.158 GB, free: 492 kB / 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.004174/0.9128, allocations: 2.457 MB / 1.161 GB, free: 13.96 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.9128, allocations: 8.031 kB / 1.161 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002909/0.9131, allocations: 248.9 kB / 1.161 GB, free: 13.7 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00347/0.9166, allocations: 0.5784 MB / 1.161 GB, free: 13.12 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003899/0.9205, allocations: 3.341 MB / 1.165 GB, free: 9.73 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.9206, allocations: 131.4 kB / 1.165 GB, free: 9.602 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.9208, allocations: 167.9 kB / 1.165 GB, free: 9.438 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003184/0.924, allocations: 1.945 MB / 1.167 GB, free: 7.441 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.9241, allocations: 11.94 kB / 1.167 GB, free: 7.43 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.9243, allocations: 75.98 kB / 1.167 GB, free: 7.355 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.402e-05/0.9243, allocations: 40 kB / 1.167 GB, free: 7.316 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003359/0.9277, allocations: 2.12 MB / 1.169 GB, free: 5.191 MB / 0.92 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.009254/0.9369, allocations: 6.409 MB / 1.175 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/0.94, allocations: 2.133 MB / 1.177 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.9412, allocations: 0.7803 MB / 1.178 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005388/0.9418, allocations: 429.6 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001631/0.9434, allocations: 1.021 MB / 1.179 GB, free: 10 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 2.996e-06/0.9434, allocations: 0 / 1.179 GB, free: 10 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146): time 0.006272/0.9497, allocations: 3.031 MB / 1.182 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.875e-05/0.9498, allocations: 193.2 kB / 1.183 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004525/0.9543, allocations: 4.075 MB / 1.187 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002501/0.9546, allocations: 61.7 kB / 1.187 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007201/0.9553, allocations: 0.9024 MB / 1.188 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004113/0.9558, allocations: 484.9 kB / 1.188 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.9558, allocations: 28 kB / 1.188 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.956, allocations: 349.9 kB / 1.188 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.9571, allocations: 0.5921 MB / 1.189 GB, free: 120 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.9583, allocations: 0.8126 MB / 1.19 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.9595, allocations: 0.6623 MB / 1.19 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.9595, allocations: 0 / 1.19 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00366/0.9632, allocations: 1.815 MB / 1.192 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.9632, allocations: 14.25 kB / 1.192 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.9632, allocations: 0 / 1.192 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009343/0.9642, allocations: 208.1 kB / 1.192 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.9657, allocations: 339.5 kB / 1.193 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005246/0.9709, allocations: 6.804 MB / 1.199 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.9727, allocations: 190.8 kB / 1.2 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.9728, allocations: 51.97 kB / 1.2 GB, free: 4.465 MB / 0.9512 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.001027/0.9739, allocations: 0.4989 MB / 1.2 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000434/0.9743, allocations: 193.7 kB / 1.2 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004297/0.9786, allocations: 2.181 MB / 1.202 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.9787, allocations: 19.98 kB / 1.202 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.9787, allocations: 0 / 1.202 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.9787, allocations: 3.984 kB / 1.202 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006689/0.9854, allocations: 4.152 MB / 1.206 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.9854, allocations: 0 / 1.206 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/0.9868, allocations: 323.6 kB / 1.207 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000861/0.9877, allocations: 220 kB / 1.207 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.9878, allocations: 39.97 kB / 1.207 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005231/0.9931, allocations: 6.831 MB / 1.214 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.9931, allocations: 0 / 1.214 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004168/0.9973, allocations: 2.03 MB / 1.216 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/0.9985, allocations: 0.5292 MB / 1.216 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004546/0.9989, allocations: 28 kB / 1.216 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/1.001, allocations: 150.3 kB / 1.216 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/1.001, allocations: 117.1 kB / 1.216 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/1.001, allocations: 75.95 kB / 1.217 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003586/1.005, allocations: 3.129 MB / 1.22 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/1.005, allocations: 4 kB / 1.22 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002134/1.007, allocations: 0.6664 MB / 1.22 GB, free: 14.45 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.006078/1.013, allocations: 3.248 MB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003392/1.016, allocations: 2.074 MB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.016, allocations: 4.625 kB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002018/1.018, allocations: 1.43 MB / 1.227 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002886/1.021, allocations: 0.49 MB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0332/1.054, allocations: 19.59 MB / 1.246 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/1.056, allocations: 1.545 MB / 1.248 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002462/1.058, allocations: 0.5287 MB / 1.248 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5529/1.611, allocations: 0.8868 MB / 1.249 GB, free: 259.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.954e-06/1.611, allocations: 0 / 1.249 GB, free: 259.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07783/1.689, allocations: 48.7 MB / 1.297 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/1.69, allocations: 271.2 kB / 1.297 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.107/4.797, allocations: 0 / 1.297 GB, free: 227.1 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