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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001535/0.001535, allocations: 108 kB / 15.6 MB, free: 132 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.001753/0.001752, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.701/0.7025, allocations: 140.3 MB / 0.9496 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1845/0.8871, allocations: 167.2 MB / 1.113 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02296/0.9101, allocations: 17.21 MB / 1.13 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.9116, allocations: 31.81 kB / 1.13 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.9134, allocations: 0.5313 MB / 1.13 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006123/0.9196, allocations: 1.684 MB / 1.132 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004297/0.9239, allocations: 1.421 MB / 1.133 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005129/0.929, allocations: 2.67 MB / 1.136 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004023/0.9331, allocations: 1.998 MB / 1.138 GB, free: 412 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004859/0.938, allocations: 1.386 MB / 1.139 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002033/0.94, allocations: 1.089 MB / 1.14 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0007709/0.9408, allocations: 228 kB / 1.14 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00494/0.9457, allocations: 1.517 MB / 1.142 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001688/0.9475, allocations: 0.8024 MB / 1.143 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002388/0.9499, allocations: 1.189 MB / 1.144 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.006971/0.9569, allocations: 3.47 MB / 1.147 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.9569, allocations: 0 / 1.147 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9569, allocations: 0 / 1.147 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.875e-05/0.957, allocations: 0 / 1.147 GB, free: 6.742 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.005715/0.9627, allocations: 2.759 MB / 1.15 GB, free: 3.922 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.9628, allocations: 16.03 kB / 1.15 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003916/0.9667, allocations: 0.5589 MB / 1.151 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/0.9696, allocations: 1.608 MB / 1.152 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.9697, allocations: 127.4 kB / 1.152 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/0.97, allocations: 172 kB / 1.152 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00357/0.9735, allocations: 1.96 MB / 1.154 GB, free: 15.38 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.9736, allocations: 0 / 1.154 GB, free: 15.38 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.9738, allocations: 72 kB / 1.154 GB, free: 15.31 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.9738, allocations: 40 kB / 1.154 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004639/0.9785, allocations: 2.109 MB / 1.156 GB, free: 13.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.01044/0.9889, allocations: 5.876 MB / 1.162 GB, free: 7.02 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003782/0.9927, allocations: 2.141 MB / 1.164 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.9942, allocations: 0.7647 MB / 1.165 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006347/0.9948, allocations: 433.6 kB / 1.165 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002011/0.9969, allocations: 1.009 MB / 1.166 GB, free: 2.512 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 6.712e-06/0.9969, allocations: 3.984 kB / 1.166 GB, free: 2.508 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.007107/1.004, allocations: 2.989 MB / 1.169 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.004, allocations: 197.2 kB / 1.17 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002294/1.006, allocations: 1.833 MB / 1.171 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001713/1.007, allocations: 53.7 kB / 1.171 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007185/1.007, allocations: 0.8546 MB / 1.172 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004602/1.008, allocations: 485 kB / 1.173 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004044/1.008, allocations: 258.8 kB / 1.173 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.008, allocations: 357.9 kB / 1.173 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/1.01, allocations: 0.5999 MB / 1.174 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/1.011, allocations: 0.817 MB / 1.175 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002688/1.014, allocations: 1.357 MB / 1.176 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/1.014, allocations: 0 / 1.176 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00463/1.019, allocations: 1.838 MB / 1.178 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/1.019, allocations: 7.938 kB / 1.178 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.019, allocations: 0 / 1.178 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/1.02, allocations: 220.1 kB / 1.178 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/1.021, allocations: 335.6 kB / 1.178 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007219/1.029, allocations: 7.316 MB / 1.185 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/1.031, allocations: 170.7 kB / 1.186 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/1.031, allocations: 55.95 kB / 1.186 GB, free: 13.8 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: 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.001063/1.032, allocations: 483.2 kB / 1.186 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003852/1.032, allocations: 193.7 kB / 1.186 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004751/1.037, allocations: 2.149 MB / 1.188 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/1.037, allocations: 12 kB / 1.188 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.037, allocations: 4 kB / 1.188 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/1.037, allocations: 7.969 kB / 1.188 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007353/1.044, allocations: 4.025 MB / 1.192 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.044, allocations: 3.938 kB / 1.192 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/1.046, allocations: 315.6 kB / 1.193 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009079/1.047, allocations: 212.1 kB / 1.193 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/1.047, allocations: 39.97 kB / 1.193 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006496/1.054, allocations: 7.363 MB / 1.2 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.054, allocations: 3.938 kB / 1.2 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004589/1.058, allocations: 2.01 MB / 1.202 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008664/1.059, allocations: 466.4 kB / 1.203 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/1.059, allocations: 35.98 kB / 1.203 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.061, allocations: 105.9 kB / 1.203 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/1.061, allocations: 121.1 kB / 1.203 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/1.061, allocations: 71.94 kB / 1.203 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001727/1.063, allocations: 1.306 MB / 1.204 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.71e-07/1.063, allocations: 0 / 1.204 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002029/1.065, allocations: 0.6663 MB / 1.205 GB, free: 9.355 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.001786/1.067, allocations: 0.7568 MB / 1.206 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005519/1.072, allocations: 2.547 MB / 1.208 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.072, allocations: 8.547 kB / 1.208 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002145/1.074, allocations: 1.415 MB / 1.209 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/1.077, allocations: 0.528 MB / 1.21 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00779/1.085, allocations: 4.003 MB / 1.214 GB, free: 144 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/1.086, allocations: 1.541 MB / 1.215 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001909/1.088, allocations: 0.489 MB / 1.216 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004847/1.088, allocations: 179.3 kB / 1.216 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of SimCode: time 8.11e-07/1.088, allocations: 0 / 1.216 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of Templates: time 0.5057/1.594, allocations: 31.31 MB / 1.247 GB, free: 279.7 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/jenkins/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