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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002/0.002, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.259/2.259, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4913/0.4925, allocations: 140.3 MB / 0.949 GB, free: 9.395 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1554/0.6479, allocations: 164.9 MB / 1.11 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01899/0.6669, allocations: 17.27 MB / 1.127 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009968/0.6679, allocations: 31.81 kB / 1.127 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.6692, allocations: 449.3 kB / 1.127 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003555/0.6728, allocations: 1.506 MB / 1.129 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00277/0.6756, allocations: 1.269 MB / 1.13 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002591/0.6782, allocations: 2.907 MB / 1.133 GB, free: 5.289 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.6803, allocations: 1.86 MB / 1.135 GB, free: 3.383 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004418/0.6847, allocations: 1.247 MB / 1.136 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.6858, allocations: 1.066 MB / 1.137 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000241/0.686, allocations: 116 kB / 1.137 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/0.6887, allocations: 1.583 MB / 1.139 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005655/0.6893, allocations: 0.7085 MB / 1.139 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000994/0.6903, allocations: 1.138 MB / 1.14 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003353/0.6937, allocations: 3.579 MB / 1.144 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6937, allocations: 4 kB / 1.144 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.31e-07/0.6937, allocations: 0 / 1.144 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.317e-05/0.6937, allocations: 0 / 1.144 GB, free: 9.953 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.004492/0.6982, allocations: 2.907 MB / 1.147 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.6983, allocations: 8.031 kB / 1.147 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002719/0.6985, allocations: 252.8 kB / 1.147 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003673/0.7022, allocations: 0.5782 MB / 1.148 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003537/0.7058, allocations: 3.394 MB / 1.151 GB, free: 2.691 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.174e-05/0.7059, allocations: 131.4 kB / 1.151 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/0.7061, allocations: 172 kB / 1.151 GB, free: 2.395 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003229/0.7093, allocations: 1.956 MB / 1.153 GB, free: 396 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.7094, allocations: 0 / 1.153 GB, free: 396 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/0.7095, allocations: 72 kB / 1.153 GB, free: 324 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.7096, allocations: 44 kB / 1.153 GB, free: 280 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003504/0.7131, allocations: 2.113 MB / 1.155 GB, free: 14.16 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.008433/0.7215, allocations: 6.368 MB / 1.162 GB, free: 7.527 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003268/0.7248, allocations: 2.14 MB / 1.164 GB, free: 5.309 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.7261, allocations: 0.7724 MB / 1.164 GB, free: 4.535 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00056/0.7267, allocations: 429.6 kB / 1.165 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001725/0.7284, allocations: 1.009 MB / 1.166 GB, free: 3.016 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 2.695e-06/0.7284, allocations: 0 / 1.166 GB, free: 3.016 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006665/0.7351, allocations: 3 MB / 1.169 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.7352, allocations: 197.2 kB / 1.169 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004204/0.7394, allocations: 4.102 MB / 1.173 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.7395, allocations: 65.58 kB / 1.173 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006957/0.7402, allocations: 0.8947 MB / 1.174 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/0.7406, allocations: 480.9 kB / 1.174 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003819/0.741, allocations: 242.9 kB / 1.175 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7412, allocations: 353.9 kB / 1.175 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.7423, allocations: 0.5804 MB / 1.175 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.7436, allocations: 0.8058 MB / 1.176 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/0.746, allocations: 1.341 MB / 1.178 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.746, allocations: 0 / 1.178 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003773/0.7498, allocations: 1.799 MB / 1.179 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.7498, allocations: 6.031 kB / 1.179 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7498, allocations: 4.062 kB / 1.179 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.7509, allocations: 212 kB / 1.18 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.7525, allocations: 331.6 kB / 1.18 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005485/0.7579, allocations: 6.811 MB / 1.186 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.7594, allocations: 182.8 kB / 1.187 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.7596, allocations: 55.97 kB / 1.187 GB, free: 12.62 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 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008711/0.7605, allocations: 485.4 kB / 1.187 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003479/0.7608, allocations: 193.6 kB / 1.187 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0044/0.7652, allocations: 2.161 MB / 1.189 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.7652, allocations: 16 kB / 1.189 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.7653, allocations: 7.984 kB / 1.189 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.7653, allocations: 3.984 kB / 1.189 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006365/0.7716, allocations: 4.143 MB / 1.194 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.7717, allocations: 7.938 kB / 1.194 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/0.7731, allocations: 315.6 kB / 1.194 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009196/0.774, allocations: 220 kB / 1.194 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.955e-05/0.7742, allocations: 39.97 kB / 1.194 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005173/0.7793, allocations: 6.842 MB / 1.201 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7794, allocations: 0 / 1.201 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003824/0.7832, allocations: 2.03 MB / 1.203 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007151/0.7839, allocations: 0.5059 MB / 1.203 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.7841, allocations: 31.98 kB / 1.203 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.7855, allocations: 137.4 kB / 1.203 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/0.7857, allocations: 117.3 kB / 1.204 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/0.7859, allocations: 71.94 kB / 1.204 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002929/0.7888, allocations: 3.145 MB / 1.207 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7888, allocations: 0 / 1.207 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001512/0.7903, allocations: 0.6703 MB / 1.207 GB, free: 6.656 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005493/0.7958, allocations: 3.236 MB / 1.21 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003195/0.799, allocations: 2.074 MB / 1.213 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.799, allocations: 4.547 kB / 1.213 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001923/0.801, allocations: 1.418 MB / 1.214 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.803, allocations: 0.506 MB / 1.214 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03228/0.8353, allocations: 23.64 MB / 1.237 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.8364, allocations: 1.553 MB / 1.239 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001857/0.8382, allocations: 0.5209 MB / 1.239 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/0.8394, allocations: 0.9015 MB / 1.24 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/0.8394, allocations: 0 / 1.24 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.868/3.707, allocations: 46.82 MB / 1.286 GB, free: 282.4 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/3.708, allocations: 294.8 kB / 1.286 GB, free: 282.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.856/7.564, allocations: 0 / 1.286 GB, free: 282.1 MB / 1.014 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/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) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches