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.001323/0.001323, 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.001375/0.001375, allocations: 191 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.351/1.351, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.377/2.377, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.88 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7025/0.704, allocations: 140.4 MB / 0.9491 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1833/0.8874, allocations: 165 MB / 1.11 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02274/0.9102, allocations: 17.01 MB / 1.127 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.9119, allocations: 39.75 kB / 1.127 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.9139, allocations: 457.3 kB / 1.127 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005432/0.9194, allocations: 1.55 MB / 1.129 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004328/0.9238, allocations: 1.288 MB / 1.13 GB, free: 8.148 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004382/0.9282, allocations: 2.666 MB / 1.133 GB, free: 5.473 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003582/0.9318, allocations: 2.01 MB / 1.135 GB, free: 3.414 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00578/0.9376, allocations: 1.399 MB / 1.136 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001955/0.9395, allocations: 1.132 MB / 1.137 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006701/0.9402, allocations: 224 kB / 1.137 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003654/0.9439, allocations: 1.56 MB / 1.139 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.945, allocations: 0.8062 MB / 1.14 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.9467, allocations: 1.189 MB / 1.141 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005677/0.9524, allocations: 3.54 MB / 1.144 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.9524, allocations: 0 / 1.144 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9525, allocations: 0 / 1.144 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001083/0.9526, allocations: 0 / 1.144 GB, free: 9.586 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.006057/0.9586, allocations: 2.751 MB / 1.147 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.9587, allocations: 12.03 kB / 1.147 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00402/0.9627, allocations: 0.5551 MB / 1.147 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002729/0.9655, allocations: 1.608 MB / 1.149 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.9656, allocations: 135.3 kB / 1.149 GB, free: 4.41 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.9659, allocations: 168 kB / 1.149 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004563/0.9705, allocations: 1.956 MB / 1.151 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.986e-05/0.9705, allocations: 4 kB / 1.151 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/0.9708, allocations: 71.98 kB / 1.151 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.209e-05/0.9708, allocations: 40 kB / 1.151 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004388/0.9752, allocations: 2.117 MB / 1.153 GB, free: 4 kB / 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.01386/0.9891, allocations: 5.861 MB / 1.159 GB, free: 9.879 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004088/0.9932, allocations: 2.133 MB / 1.161 GB, free: 7.672 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.9946, allocations: 0.7725 MB / 1.162 GB, free: 6.895 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007318/0.9954, allocations: 433.5 kB / 1.162 GB, free: 6.398 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002116/0.9975, allocations: 1.013 MB / 1.163 GB, free: 5.367 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 3.296e-06/0.9975, allocations: 0 / 1.163 GB, free: 5.367 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.007141/1.005, allocations: 2.989 MB / 1.166 GB, free: 2.262 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.005, allocations: 193.2 kB / 1.166 GB, free: 2.031 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002645/1.007, allocations: 1.83 MB / 1.168 GB, free: 196 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002626/1.008, allocations: 57.7 kB / 1.168 GB, free: 132 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007241/1.008, allocations: 0.8509 MB / 1.169 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004495/1.009, allocations: 484.9 kB / 1.17 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/1.009, allocations: 250.8 kB / 1.17 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001947/1.01, allocations: 361.9 kB / 1.17 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/1.011, allocations: 0.6038 MB / 1.171 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/1.012, allocations: 0.8169 MB / 1.172 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002542/1.015, allocations: 1.357 MB / 1.173 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/1.015, allocations: 0 / 1.173 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004227/1.019, allocations: 1.834 MB / 1.175 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.019, allocations: 13.34 kB / 1.175 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.019, allocations: 0 / 1.175 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/1.02, allocations: 212.2 kB / 1.175 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/1.022, allocations: 339.5 kB / 1.175 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006415/1.028, allocations: 7.325 MB / 1.182 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/1.03, allocations: 182.7 kB / 1.183 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/1.03, allocations: 55.97 kB / 1.183 GB, free: 0.6484 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.001/1.031, allocations: 487.2 kB / 1.183 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000455/1.032, allocations: 181.8 kB / 1.183 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005019/1.037, allocations: 2.156 MB / 1.185 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/1.037, allocations: 16 kB / 1.185 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/1.037, allocations: 4 kB / 1.185 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/1.037, allocations: 7.969 kB / 1.185 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007679/1.045, allocations: 4.016 MB / 1.189 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/1.045, allocations: 3.938 kB / 1.189 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/1.046, allocations: 323.5 kB / 1.19 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009053/1.047, allocations: 196.1 kB / 1.19 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/1.047, allocations: 43.95 kB / 1.19 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006263/1.054, allocations: 7.359 MB / 1.197 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/1.054, allocations: 11.86 kB / 1.197 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004788/1.058, allocations: 2.018 MB / 1.199 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009717/1.059, allocations: 466.4 kB / 1.199 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/1.06, allocations: 32 kB / 1.199 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/1.061, allocations: 129 kB / 1.2 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000291/1.061, allocations: 117.2 kB / 1.2 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/1.062, allocations: 71.94 kB / 1.2 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001734/1.063, allocations: 1.31 MB / 1.201 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/1.063, allocations: 0 / 1.201 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001989/1.065, allocations: 0.6586 MB / 1.202 GB, free: 12.19 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.00194/1.067, allocations: 0.7613 MB / 1.202 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005629/1.073, allocations: 2.543 MB / 1.205 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/1.073, allocations: 8.547 kB / 1.205 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002161/1.075, allocations: 1.426 MB / 1.206 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/1.078, allocations: 0.5285 MB / 1.207 GB, free: 7 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00832/1.086, allocations: 4.857 MB / 1.212 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/1.087, allocations: 1.541 MB / 1.213 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002148/1.089, allocations: 0.5005 MB / 1.214 GB, free: 32 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005119/1.09, allocations: 179.3 kB / 1.214 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of SimCode: time 1.794e-06/1.09, allocations: 0 / 1.214 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of Templates: time 0.05261/1.142, allocations: 31.13 MB / 1.244 GB, free: 1.062 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