Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002222/0.002222, allocations: 193.5 kB / 16.25 MB, free: 6.637 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.375/1.375, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.737/2.737, allocations: 437 MB / 0.71 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 59.89 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6487/0.65, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1811/0.8312, allocations: 166.2 MB / 1.179 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02257/0.8538, allocations: 17.17 MB / 1.196 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.8555, allocations: 27.81 kB / 1.196 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.8579, allocations: 0.4892 MB / 1.196 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005875/0.8638, allocations: 1.638 MB / 1.198 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00396/0.8677, allocations: 1.295 MB / 1.199 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004166/0.8719, allocations: 2.891 MB / 1.202 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003288/0.8752, allocations: 1.944 MB / 1.204 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005862/0.8811, allocations: 1.435 MB / 1.205 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.8831, allocations: 1.156 MB / 1.206 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0007462/0.8838, allocations: 224 kB / 1.207 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004259/0.8881, allocations: 1.56 MB / 1.208 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.8893, allocations: 0.8024 MB / 1.209 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002187/0.8915, allocations: 1.224 MB / 1.21 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005345/0.8968, allocations: 3.606 MB / 1.214 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.8969, allocations: 0 / 1.214 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8969, allocations: 4 kB / 1.214 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.474e-05/0.897, allocations: 0 / 1.214 GB, free: 8.414 MB / 0.9669 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.005164/0.9021, allocations: 2.79 MB / 1.216 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.9022, allocations: 8.031 kB / 1.216 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003868/0.9061, allocations: 0.5629 MB / 1.217 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.9084, allocations: 1.604 MB / 1.219 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.483e-05/0.9086, allocations: 131.4 kB / 1.219 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.9088, allocations: 168 kB / 1.219 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003577/0.9124, allocations: 1.952 MB / 1.221 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.9124, allocations: 4 kB / 1.221 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.9126, allocations: 75.98 kB / 1.221 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/0.9126, allocations: 40 kB / 1.221 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003686/0.9163, allocations: 2.113 MB / 1.223 GB, free: 14.8 MB / 0.9825 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.01045/0.9268, allocations: 6.24 MB / 1.229 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003743/0.9306, allocations: 2.125 MB / 1.231 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.932, allocations: 0.7725 MB / 1.232 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007362/0.9327, allocations: 437.6 kB / 1.232 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002056/0.9348, allocations: 1.017 MB / 1.233 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.657e-06/0.9348, allocations: 0 / 1.233 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.007233/0.942, allocations: 2.989 MB / 1.236 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.9422, allocations: 201.2 kB / 1.236 GB, free: 360 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/0.9452, allocations: 1.829 MB / 1.238 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002243/0.9455, allocations: 57.7 kB / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008085/0.9463, allocations: 0.8431 MB / 1.239 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000455/0.9467, allocations: 484.9 kB / 1.239 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004667/0.9472, allocations: 258.7 kB / 1.24 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.9474, allocations: 361.9 kB / 1.24 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.9487, allocations: 0.6038 MB / 1.241 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.9502, allocations: 0.8131 MB / 1.241 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002563/0.9527, allocations: 1.357 MB / 1.243 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.9527, allocations: 0 / 1.243 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00448/0.9572, allocations: 1.838 MB / 1.245 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.9573, allocations: 7.938 kB / 1.245 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.9573, allocations: 0 / 1.245 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.9585, allocations: 212.1 kB / 1.245 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.9601, allocations: 339.6 kB / 1.245 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6206/1.581, allocations: 7.342 MB / 1.252 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/1.583, allocations: 186.7 kB / 1.252 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/1.583, allocations: 57.48 kB / 1.253 GB, free: 228.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (153): * Single equations (assignments): 148 * 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.000988/1.584, allocations: 488.1 kB / 1.253 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004043/1.584, allocations: 190 kB / 1.253 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005332/1.59, allocations: 2.144 MB / 1.255 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.265e-05/1.59, allocations: 15.12 kB / 1.255 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/1.59, allocations: 9.188 kB / 1.255 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.08e-05/1.59, allocations: 7.734 kB / 1.255 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009523/1.599, allocations: 4.011 MB / 1.259 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.599, allocations: 3.719 kB / 1.259 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/1.601, allocations: 315.9 kB / 1.259 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009285/1.602, allocations: 203.1 kB / 1.26 GB, free: 227 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/1.602, allocations: 40.69 kB / 1.26 GB, free: 227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004687/1.607, allocations: 7.369 MB / 1.267 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.607, allocations: 0.6094 kB / 1.267 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005235/1.612, allocations: 2.007 MB / 1.269 GB, free: 219 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.613, allocations: 476.3 kB / 1.269 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/1.613, allocations: 31.95 kB / 1.269 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/1.615, allocations: 144.9 kB / 1.27 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003434/1.615, allocations: 115.9 kB / 1.27 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/1.615, allocations: 73.39 kB / 1.27 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001758/1.617, allocations: 1.308 MB / 1.271 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.617, allocations: 0 / 1.271 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001918/1.619, allocations: 0.6875 MB / 1.272 GB, free: 218 MB / 0.9981 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.001689/1.621, allocations: 0.7582 MB / 1.272 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005478/1.626, allocations: 2.547 MB / 1.275 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.626, allocations: 3.656 kB / 1.275 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002018/1.628, allocations: 1.423 MB / 1.276 GB, free: 216 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/1.631, allocations: 0.543 MB / 1.277 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00681/1.638, allocations: 4.753 MB / 1.281 GB, free: 213.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/1.639, allocations: 1.536 MB / 1.283 GB, free: 212.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002027/1.641, allocations: 0.4989 MB / 1.283 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000452/1.641, allocations: 179.5 kB / 1.284 GB, free: 212.2 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/1.641, allocations: 0 / 1.284 GB, free: 212.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.04121/1.683, allocations: 31.97 MB / 1.315 GB, free: 185.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches