Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001434/0.001434, allocations: 172.7 kB / 15.95 MB, free: 208 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.484/1.484, allocations: 223.3 MB / 240 MB, free: 5.289 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.426/2.426, allocations: 390.9 MB / 0.666 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.0004708, allocations: 19.98 kB / 0.8154 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7873/0.7878, allocations: 142.4 MB / 0.9544 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.004348/0.7922, allocations: 3.973 MB / 0.9583 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1729/0.9652, allocations: 136.9 MB / 1.092 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009151/0.9661, allocations: 15.94 kB / 1.092 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.9668, allocations: 130.9 kB / 1.092 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.9682, allocations: 458.3 kB / 1.093 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.9703, allocations: 0.6736 MB / 1.093 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.9717, allocations: 1.238 MB / 1.094 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008069/0.9725, allocations: 0.5505 MB / 1.095 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005963/0.9732, allocations: 378.2 kB / 1.095 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006006/0.9738, allocations: 413.8 kB / 1.096 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.656e-05/0.9739, allocations: 35.83 kB / 1.096 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008036/0.9747, allocations: 363.6 kB / 1.096 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.9749, allocations: 199.1 kB / 1.096 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.9751, allocations: 221 kB / 1.097 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.9763, allocations: 1.305 MB / 1.098 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9764, allocations: 0 / 1.098 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9764, allocations: 0 / 1.098 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.9764, allocations: 0 / 1.098 GB, free: 12.23 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002374/0.9788, allocations: 1.333 MB / 1.099 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.9788, allocations: 15.97 kB / 1.099 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008788/0.9797, allocations: 210.3 kB / 1.099 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.9808, allocations: 0.7621 MB / 1.1 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.822e-05/0.9808, allocations: 78.02 kB / 1.1 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.981, allocations: 99.98 kB / 1.1 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.9829, allocations: 1.067 MB / 1.101 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.983, allocations: 3.984 kB / 1.101 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.9831, allocations: 47.95 kB / 1.101 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.9831, allocations: 24 kB / 1.101 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.985, allocations: 1.225 MB / 1.103 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004417/0.9894, allocations: 2.946 MB / 1.105 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.9911, allocations: 0.8875 MB / 1.106 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005801/0.9917, allocations: 339.7 kB / 1.107 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-05/0.9918, allocations: 33.02 kB / 1.107 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009801/0.9928, allocations: 0.5552 MB / 1.107 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=92): time 3.216e-06/0.9928, allocations: 0 / 1.107 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92): time 0.003247/0.9961, allocations: 1.337 MB / 1.108 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.9962, allocations: 200.9 kB / 1.109 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009791/0.9972, allocations: 0.6802 MB / 1.109 GB, free: 64 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.9973, allocations: 41.7 kB / 1.109 GB, free: 16 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.9977, allocations: 440.4 kB / 1.11 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/0.9979, allocations: 299.7 kB / 1.11 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.998, allocations: 20 kB / 1.11 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.9982, allocations: 394.7 kB / 1.11 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005572/0.9987, allocations: 309.8 kB / 1.111 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000671/0.9994, allocations: 407.1 kB / 1.111 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/1, allocations: 342.9 kB / 1.112 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1, allocations: 0 / 1.112 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002067/1.002, allocations: 0.9541 MB / 1.112 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/1.002, allocations: 4 kB / 1.112 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.002, allocations: 4 kB / 1.112 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005707/1.003, allocations: 84.83 kB / 1.113 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000812/1.004, allocations: 187.7 kB / 1.113 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/1.006, allocations: 1.512 MB / 1.114 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007788/1.007, allocations: 119.3 kB / 1.114 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-05/1.007, allocations: 39.97 kB / 1.114 GB, free: 10.77 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.incAng.decAng.tNext,incAng.decAng.tNext,$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,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 108 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006034/1.007, allocations: 289.8 kB / 1.115 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/1.008, allocations: 98.83 kB / 1.115 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/1.01, allocations: 1.238 MB / 1.116 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/1.01, allocations: 16 kB / 1.116 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/1.01, allocations: 0 / 1.116 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/1.01, allocations: 3.984 kB / 1.116 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/1.011, allocations: 1.009 MB / 1.117 GB, free: 8.047 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.011, allocations: 3.984 kB / 1.117 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006313/1.012, allocations: 171.7 kB / 1.117 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004382/1.013, allocations: 84.77 kB / 1.117 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/1.013, allocations: 23.98 kB / 1.117 GB, free: 7.766 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/1.014, allocations: 1.56 MB / 1.119 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.014, allocations: 4 kB / 1.119 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/1.016, allocations: 1.045 MB / 1.12 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004254/1.017, allocations: 311.4 kB / 1.12 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/1.017, allocations: 28 kB / 1.12 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005963/1.018, allocations: 91.81 kB / 1.12 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/1.018, allocations: 84.88 kB / 1.12 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.553e-05/1.018, allocations: 39.97 kB / 1.12 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006249/1.018, allocations: 491 kB / 1.121 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.018, allocations: 0 / 1.121 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009734/1.019, allocations: 363.1 kB / 1.121 GB, free: 3.602 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001428/1.021, allocations: 0.6234 MB / 1.122 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001751/1.023, allocations: 0.9249 MB / 1.123 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.023, allocations: 8.188 kB / 1.123 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009437/1.024, allocations: 0.5666 MB / 1.123 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/1.025, allocations: 266 kB / 1.123 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004267/1.029, allocations: 2.458 MB / 1.126 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006677/1.03, allocations: 1.077 MB / 1.127 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009386/1.031, allocations: 279.4 kB / 1.127 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/1.031, allocations: 115.4 kB / 1.127 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of SimCode: time 6.82e-07/1.031, allocations: 0 / 1.127 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of Templates: time 0.02752/1.058, allocations: 15.12 MB / 1.142 GB, free: 14.44 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches