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: 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_9_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_9_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.001525/0.001525, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 197.8 kB / 16.79 MB, free: 6.828 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.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.625 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.313/2.313, allocations: 390.2 MB / 0.6649 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 71.89 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6895/0.691, allocations: 140.4 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1846/0.8756, allocations: 164.9 MB / 1.111 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02514/0.9008, allocations: 17.26 MB / 1.127 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/0.9028, allocations: 31.81 kB / 1.128 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.9045, allocations: 453.3 kB / 1.128 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004909/0.9096, allocations: 1.508 MB / 1.129 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003714/0.9133, allocations: 1.263 MB / 1.131 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003724/0.917, allocations: 2.907 MB / 1.133 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00269/0.9197, allocations: 1.864 MB / 1.135 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00547/0.9252, allocations: 1.25 MB / 1.137 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.9268, allocations: 1.066 MB / 1.138 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003213/0.9272, allocations: 116 kB / 1.138 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003378/0.9305, allocations: 1.587 MB / 1.139 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007385/0.9313, allocations: 0.6969 MB / 1.14 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.9327, allocations: 1.088 MB / 1.141 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003259/0.936, allocations: 2.623 MB / 1.144 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.936, allocations: 0 / 1.144 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.92e-07/0.936, allocations: 0 / 1.144 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.561e-05/0.936, allocations: 0 / 1.144 GB, free: 10.85 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.004982/0.941, allocations: 2.751 MB / 1.146 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.9411, allocations: 12.03 kB / 1.146 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0038/0.9449, allocations: 0.5629 MB / 1.147 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002579/0.9475, allocations: 1.6 MB / 1.148 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.9476, allocations: 131.3 kB / 1.148 GB, free: 5.676 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/0.9478, allocations: 175.9 kB / 1.149 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003432/0.9513, allocations: 1.948 MB / 1.151 GB, free: 3.504 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.9513, allocations: 4 kB / 1.151 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.9515, allocations: 83.97 kB / 1.151 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.9515, allocations: 40 kB / 1.151 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003461/0.955, allocations: 2.109 MB / 1.153 GB, free: 1.266 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.009873/0.9649, allocations: 5.857 MB / 1.158 GB, free: 11.14 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/0.9683, allocations: 2.129 MB / 1.161 GB, free: 8.938 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.9696, allocations: 0.7764 MB / 1.161 GB, free: 8.16 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005921/0.9702, allocations: 429.6 kB / 1.162 GB, free: 7.668 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001916/0.9721, allocations: 1.013 MB / 1.163 GB, free: 6.637 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 3.758e-06/0.9721, allocations: 0 / 1.163 GB, free: 6.637 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006918/0.979, allocations: 2.981 MB / 1.166 GB, free: 3.539 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.9792, allocations: 201.2 kB / 1.166 GB, free: 3.301 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/0.9818, allocations: 1.83 MB / 1.168 GB, free: 1.461 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002447/0.982, allocations: 65.7 kB / 1.168 GB, free: 1.391 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007407/0.9828, allocations: 0.8469 MB / 1.168 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004509/0.9833, allocations: 477 kB / 1.169 GB, free: 60 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004361/0.9837, allocations: 262.7 kB / 1.169 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.9838, allocations: 357.9 kB / 1.17 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.985, allocations: 0.6038 MB / 1.17 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.9863, allocations: 0.8169 MB / 1.171 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002412/0.9888, allocations: 1.357 MB / 1.172 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.9888, allocations: 0 / 1.172 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004272/0.9931, allocations: 1.834 MB / 1.174 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.9931, allocations: 17.34 kB / 1.174 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.9931, allocations: 0 / 1.174 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.9942, allocations: 208.1 kB / 1.174 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.9958, allocations: 339.5 kB / 1.175 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005584/1.001, allocations: 6.811 MB / 1.181 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/1.003, allocations: 186.9 kB / 1.181 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/1.003, allocations: 59.95 kB / 1.181 GB, free: 2.453 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: 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.001005/1.004, allocations: 491.2 kB / 1.182 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/1.005, allocations: 185.7 kB / 1.182 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004394/1.009, allocations: 2.141 MB / 1.184 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/1.009, allocations: 16 kB / 1.184 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.009, allocations: 0 / 1.184 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/1.009, allocations: 7.969 kB / 1.184 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006614/1.016, allocations: 4.028 MB / 1.188 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.016, allocations: 0 / 1.188 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/1.017, allocations: 319.6 kB / 1.188 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009156/1.018, allocations: 212 kB / 1.189 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/1.018, allocations: 43.91 kB / 1.189 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005399/1.024, allocations: 6.838 MB / 1.195 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.024, allocations: 8.109 kB / 1.195 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00449/1.028, allocations: 2.01 MB / 1.197 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/1.029, allocations: 474.2 kB / 1.198 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/1.03, allocations: 31.94 kB / 1.198 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/1.031, allocations: 126.9 kB / 1.198 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002905/1.031, allocations: 125 kB / 1.198 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/1.031, allocations: 71.95 kB / 1.198 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001777/1.033, allocations: 1.302 MB / 1.199 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.033, allocations: 0 / 1.199 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00201/1.035, allocations: 0.6626 MB / 1.2 GB, free: 14.55 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.001935/1.037, allocations: 0.7617 MB / 1.201 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003697/1.041, allocations: 2.102 MB / 1.203 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.041, allocations: 4.547 kB / 1.203 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002115/1.043, allocations: 1.434 MB / 1.204 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/1.046, allocations: 0.4914 MB / 1.205 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00803/1.054, allocations: 4.73 MB / 1.209 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/1.055, allocations: 1.498 MB / 1.211 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007954/1.056, allocations: 191.3 kB / 1.211 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of SimCode: time 7.91e-07/1.056, allocations: 4 kB / 1.211 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of Templates: time 0.5654/1.621, allocations: 67.21 MB / 1.277 GB, free: 265.1 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (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 & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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