Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 108 kB / 15.61 MB, free: 128 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.001284/0.001284, allocations: 198.1 kB / 16.53 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.693/2.693, allocations: 390.2 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6437/0.645, allocations: 140.4 MB / 0.9496 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005677/0.6508, allocations: 4.374 MB / 0.9538 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1791/0.8299, allocations: 150.6 MB / 1.101 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.8311, allocations: 15.94 kB / 1.101 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008228/0.832, allocations: 182.3 kB / 1.101 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.834, allocations: 0.4926 MB / 1.102 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.8362, allocations: 0.8391 MB / 1.102 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00156/0.8377, allocations: 1.316 MB / 1.104 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009696/0.8387, allocations: 0.6906 MB / 1.104 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006425/0.8394, allocations: 0.4905 MB / 1.105 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005647/0.8399, allocations: 0.5289 MB / 1.105 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.8401, allocations: 128 kB / 1.105 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009797/0.8411, allocations: 471.6 kB / 1.106 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.8414, allocations: 311 kB / 1.106 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004504/0.8418, allocations: 0.579 MB / 1.107 GB, free: 268 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002039/0.8439, allocations: 1.651 MB / 1.108 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-05/0.8439, allocations: 0 / 1.108 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8439, allocations: 0 / 1.108 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.983e-05/0.8439, allocations: 0 / 1.108 GB, free: 14.61 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002695/0.8466, allocations: 1.477 MB / 1.11 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.8467, allocations: 8.031 kB / 1.11 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.8478, allocations: 211.3 kB / 1.11 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.8488, allocations: 0.7616 MB / 1.111 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/0.8489, allocations: 70 kB / 1.111 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.849, allocations: 92 kB / 1.111 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.8507, allocations: 1.003 MB / 1.112 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.8507, allocations: 0 / 1.112 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-05/0.8508, allocations: 47.98 kB / 1.112 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.8509, allocations: 20 kB / 1.112 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.8527, allocations: 1.179 MB / 1.113 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004207/0.857, allocations: 2.62 MB / 1.116 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002388/0.8594, allocations: 0.9693 MB / 1.117 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000591/0.86, allocations: 310.7 kB / 1.117 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-05/0.8601, allocations: 32.59 kB / 1.117 GB, free: 5.594 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.8611, allocations: 0.499 MB / 1.117 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.485e-06/0.8611, allocations: 7.938 kB / 1.117 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003276/0.8644, allocations: 1.221 MB / 1.119 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.8645, allocations: 196.5 kB / 1.119 GB, free: 3.582 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008546/0.8654, allocations: 0.6411 MB / 1.119 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.116e-05/0.8655, allocations: 41.7 kB / 1.12 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/0.8658, allocations: 424.2 kB / 1.12 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.8661, allocations: 260.2 kB / 1.12 GB, free: 2.207 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.8664, allocations: 174.4 kB / 1.12 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.8666, allocations: 390.8 kB / 1.121 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005796/0.8672, allocations: 273.8 kB / 1.121 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006954/0.8679, allocations: 367.1 kB / 1.121 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.8692, allocations: 0.6268 MB / 1.122 GB, free: 364 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.8692, allocations: 0 / 1.122 GB, free: 364 kB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002148/0.8713, allocations: 0.8644 MB / 1.123 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.8714, allocations: 8 kB / 1.123 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.8714, allocations: 0 / 1.123 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006079/0.872, allocations: 88.8 kB / 1.123 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/0.8727, allocations: 171.7 kB / 1.123 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.875, allocations: 1.619 MB / 1.125 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008695/0.8759, allocations: 100.5 kB / 1.125 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.113e-05/0.876, allocations: 39.97 kB / 1.125 GB, free: 13.32 MB / 0.8887 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 (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000562/0.8765, allocations: 275.5 kB / 1.125 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.8767, allocations: 82.97 kB / 1.125 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.8792, allocations: 1.097 MB / 1.126 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.8793, allocations: 12 kB / 1.126 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8793, allocations: 0 / 1.126 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.8793, allocations: 7.969 kB / 1.126 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003476/0.8828, allocations: 2.017 MB / 1.128 GB, free: 9.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.8828, allocations: 0 / 1.128 GB, free: 9.75 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006353/0.8834, allocations: 147.8 kB / 1.128 GB, free: 9.605 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004561/0.8839, allocations: 72.78 kB / 1.128 GB, free: 9.531 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/0.884, allocations: 23.98 kB / 1.128 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.8859, allocations: 1.67 MB / 1.13 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8859, allocations: 0 / 1.13 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.8881, allocations: 1.016 MB / 1.131 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004053/0.8885, allocations: 279.7 kB / 1.131 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.8887, allocations: 20 kB / 1.131 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006749/0.8894, allocations: 67.92 kB / 1.131 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.8896, allocations: 76.83 kB / 1.131 GB, free: 6.203 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.295e-05/0.8896, allocations: 35.98 kB / 1.131 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006285/0.8903, allocations: 471 kB / 1.132 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8903, allocations: 0 / 1.132 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001042/0.8913, allocations: 327 kB / 1.132 GB, free: 5.391 MB / 0.8887 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 (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001389/0.8927, allocations: 0.6003 MB / 1.133 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002488/0.8952, allocations: 1.058 MB / 1.134 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.8952, allocations: 8.125 kB / 1.134 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.8962, allocations: 0.5236 MB / 1.134 GB, free: 3.348 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.8975, allocations: 296.2 kB / 1.135 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/0.9016, allocations: 1.849 MB / 1.136 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006755/0.9023, allocations: 1.043 MB / 1.137 GB, free: 140 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009459/0.9032, allocations: 262.8 kB / 1.138 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/0.9036, allocations: 115.2 kB / 1.138 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of SimCode: time 7.31e-07/0.9036, allocations: 0 / 1.138 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of Templates: time 0.0265/0.9301, allocations: 15.13 MB / 1.153 GB, free: 0.793 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches