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.0009499/0.0009497, 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.0009301/0.0009301, 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.336/1.336, allocations: 223.2 MB / 239.9 MB, free: 5.43 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.378/2.378, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003496, allocations: 8 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7576/0.7579, allocations: 142.3 MB / 0.9535 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1673/0.9253, allocations: 140.3 MB / 1.091 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01787/0.9432, allocations: 14.2 MB / 1.104 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001786/0.945, allocations: 23.81 kB / 1.104 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.9464, allocations: 346.1 kB / 1.105 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004606/0.951, allocations: 1.347 MB / 1.106 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003712/0.9547, allocations: 1.108 MB / 1.107 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00325/0.958, allocations: 1.6 MB / 1.109 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002104/0.9601, allocations: 1.504 MB / 1.11 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.9619, allocations: 0.9341 MB / 1.111 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.9631, allocations: 0.7192 MB / 1.112 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.9633, allocations: 52 kB / 1.112 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.9659, allocations: 0.9907 MB / 1.113 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006096/0.9665, allocations: 0.5801 MB / 1.113 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005442/0.9671, allocations: 416.4 kB / 1.114 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003508/0.9706, allocations: 2.638 MB / 1.116 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9706, allocations: 0 / 1.116 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.927e-06/0.9706, allocations: 0 / 1.116 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001125/0.9707, allocations: 0 / 1.116 GB, free: 8.965 MB / 0.8731 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.006002/0.9767, allocations: 2.448 MB / 1.119 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.9768, allocations: 12.03 kB / 1.119 GB, free: 6.441 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004012/0.9808, allocations: 0.5822 MB / 1.119 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004583/0.9854, allocations: 3.329 MB / 1.123 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.9856, allocations: 131.4 kB / 1.123 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.9858, allocations: 168 kB / 1.123 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003372/0.9892, allocations: 1.941 MB / 1.125 GB, free: 196 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.9892, allocations: 0 / 1.125 GB, free: 196 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.9894, allocations: 80 kB / 1.125 GB, free: 116 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/0.9894, allocations: 43.94 kB / 1.125 GB, free: 72 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003545/0.993, allocations: 2.113 MB / 1.127 GB, free: 13.95 MB / 0.8887 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.01024/1.003, allocations: 6.396 MB / 1.133 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003308/1.007, allocations: 1.891 MB / 1.135 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/1.007, allocations: 73.22 kB / 1.135 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001886/1.009, allocations: 1.005 MB / 1.136 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=146): time 5.34e-06/1.009, allocations: 3.938 kB / 1.136 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of matching and sorting (n=146): time 0.006966/1.016, allocations: 3.022 MB / 1.139 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/1.016, allocations: 197.2 kB / 1.139 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00548/1.021, allocations: 4.079 MB / 1.143 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0004862/1.022, allocations: 61.7 kB / 1.143 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008555/1.023, allocations: 0.8985 MB / 1.144 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005259/1.023, allocations: 480.9 kB / 1.145 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/1.023, allocations: 28 kB / 1.145 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002104/1.024, allocations: 345.9 kB / 1.145 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/1.025, allocations: 0.5882 MB / 1.146 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/1.026, allocations: 0.8008 MB / 1.146 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/1.027, allocations: 0.6622 MB / 1.147 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/1.027, allocations: 0 / 1.147 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004146/1.032, allocations: 1.795 MB / 1.149 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/1.032, allocations: 8.062 kB / 1.149 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/1.032, allocations: 7.953 kB / 1.149 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/1.033, allocations: 212 kB / 1.149 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/1.034, allocations: 331.6 kB / 1.149 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005571/1.04, allocations: 6.85 MB / 1.156 GB, free: 15.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/1.042, allocations: 194.3 kB / 1.156 GB, free: 14.83 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/1.042, allocations: 51.97 kB / 1.156 GB, free: 14.78 MB / 0.92 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.001096/1.043, allocations: 0.494 MB / 1.157 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004748/1.044, allocations: 197.5 kB / 1.157 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004491/1.048, allocations: 2.169 MB / 1.159 GB, free: 11.88 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/1.048, allocations: 16 kB / 1.159 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.048, allocations: 4 kB / 1.159 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/1.048, allocations: 11.92 kB / 1.159 GB, free: 11.85 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006988/1.055, allocations: 3.958 MB / 1.163 GB, free: 7.793 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/1.055, allocations: 0 / 1.163 GB, free: 7.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/1.057, allocations: 335.8 kB / 1.163 GB, free: 7.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009626/1.058, allocations: 208.1 kB / 1.163 GB, free: 7.246 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/1.058, allocations: 47.97 kB / 1.163 GB, free: 7.199 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005449/1.063, allocations: 6.89 MB / 1.17 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.063, allocations: 7.969 kB / 1.17 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0045/1.068, allocations: 2.212 MB / 1.172 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/1.069, allocations: 0.5292 MB / 1.173 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003301/1.07, allocations: 43.94 kB / 1.173 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/1.071, allocations: 150 kB / 1.173 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/1.071, allocations: 121.1 kB / 1.173 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/1.071, allocations: 75.94 kB / 1.173 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003221/1.075, allocations: 3.129 MB / 1.176 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.11e-07/1.075, allocations: 0 / 1.176 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00234/1.077, allocations: 0.6703 MB / 1.177 GB, free: 8.586 MB / 0.9356 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.001788/1.079, allocations: 0.7614 MB / 1.178 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003553/1.082, allocations: 2.074 MB / 1.18 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/1.082, allocations: 0.7969 kB / 1.18 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002158/1.085, allocations: 1.446 MB / 1.181 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/1.087, allocations: 485.1 kB / 1.182 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009764/1.097, allocations: 4.797 MB / 1.186 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/1.098, allocations: 1.591 MB / 1.188 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002246/1.101, allocations: 0.5248 MB / 1.188 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005276/1.101, allocations: 191.3 kB / 1.188 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of SimCode: time 8.82e-07/1.101, allocations: 0 / 1.188 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of Templates: time 0.05282/1.154, allocations: 31.2 MB / 1.219 GB, free: 13.81 MB / 0.9825 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","../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches