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.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.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.0009813/0.0009811, allocations: 98.88 kB / 16.02 MB, free: 76 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.001536/0.001536, allocations: 182.2 kB / 16.92 MB, free: 6.707 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.424/1.424, allocations: 223.3 MB / 241 MB, free: 5.363 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.382/2.382, allocations: 390.9 MB / 0.667 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003377, allocations: 8 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7221/0.7224, allocations: 142.4 MB / 0.9557 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004415/0.7269, allocations: 3.975 MB / 0.9596 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1688/0.8957, allocations: 146.7 MB / 1.103 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.8968, allocations: 19.88 kB / 1.103 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007747/0.8976, allocations: 134.9 kB / 1.103 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.8998, allocations: 428.7 kB / 1.103 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.9021, allocations: 0.7227 MB / 1.104 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.9039, allocations: 1.23 MB / 1.105 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.9051, allocations: 0.6621 MB / 1.106 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007498/0.9058, allocations: 342.3 kB / 1.106 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007229/0.9065, allocations: 389.8 kB / 1.107 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001733/0.9067, allocations: 35.94 kB / 1.107 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.9078, allocations: 371.6 kB / 1.107 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.9081, allocations: 191.1 kB / 1.107 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006248/0.9087, allocations: 486.6 kB / 1.108 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.9103, allocations: 1.212 MB / 1.109 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.9103, allocations: 4 kB / 1.109 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9103, allocations: 0 / 1.109 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.699e-05/0.9104, allocations: 0 / 1.109 GB, free: 1.992 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002882/0.9133, allocations: 1.247 MB / 1.11 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.9134, allocations: 12.03 kB / 1.11 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.9146, allocations: 227.3 kB / 1.11 GB, free: 476 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.9159, allocations: 0.7577 MB / 1.111 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.86e-05/0.916, allocations: 74 kB / 1.111 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.9162, allocations: 92 kB / 1.111 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.918, allocations: 1.011 MB / 1.112 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.918, allocations: 0 / 1.112 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.9182, allocations: 44 kB / 1.112 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.9182, allocations: 20 kB / 1.112 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.9202, allocations: 1.182 MB / 1.113 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004316/0.9245, allocations: 2.657 MB / 1.116 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00239/0.9269, allocations: 0.981 MB / 1.117 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006059/0.9275, allocations: 318.6 kB / 1.117 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.987e-05/0.9276, allocations: 32.61 kB / 1.117 GB, free: 9.121 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009887/0.9286, allocations: 0.4991 MB / 1.118 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.505e-06/0.9286, allocations: 0 / 1.118 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003288/0.9319, allocations: 1.237 MB / 1.119 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.932, allocations: 192.5 kB / 1.119 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008367/0.9329, allocations: 0.6448 MB / 1.12 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.52e-05/0.933, allocations: 37.7 kB / 1.12 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.9333, allocations: 428.2 kB / 1.12 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.9335, allocations: 268.2 kB / 1.12 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.644e-05/0.9336, allocations: 65.69 kB / 1.121 GB, free: 5.652 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.9338, allocations: 386.7 kB / 1.121 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005886/0.9344, allocations: 285.8 kB / 1.121 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006664/0.9351, allocations: 371.1 kB / 1.122 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.9363, allocations: 0.6268 MB / 1.122 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.9363, allocations: 4 kB / 1.122 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002024/0.9383, allocations: 0.8838 MB / 1.123 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.9384, allocations: 8 kB / 1.123 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.9384, allocations: 4.094 kB / 1.123 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006178/0.939, allocations: 76.72 kB / 1.123 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.9397, allocations: 175.8 kB / 1.123 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.9418, allocations: 1.527 MB / 1.125 GB, free: 1.152 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007961/0.9426, allocations: 111.3 kB / 1.125 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.367e-05/0.9427, allocations: 39.97 kB / 1.125 GB, free: 1.004 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: 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.0005125/0.9432, allocations: 277.3 kB / 1.125 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.9433, allocations: 79.06 kB / 1.125 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.9458, allocations: 1.105 MB / 1.126 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.9458, allocations: 8 kB / 1.126 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.9459, allocations: 7.938 kB / 1.126 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.9459, allocations: 7.969 kB / 1.126 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003423/0.9493, allocations: 2.021 MB / 1.128 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.9493, allocations: 0 / 1.128 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006053/0.9499, allocations: 151.8 kB / 1.128 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005301/0.9505, allocations: 84.77 kB / 1.129 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.745e-05/0.9505, allocations: 27.98 kB / 1.129 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.9524, allocations: 1.54 MB / 1.13 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.9525, allocations: 7.922 kB / 1.13 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/0.9546, allocations: 1.023 MB / 1.131 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004029/0.955, allocations: 299.5 kB / 1.131 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.9551, allocations: 16 kB / 1.131 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007021/0.9558, allocations: 87.86 kB / 1.131 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.956, allocations: 68.91 kB / 1.132 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.437e-05/0.9561, allocations: 35.97 kB / 1.132 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006123/0.9567, allocations: 471 kB / 1.132 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9567, allocations: 0 / 1.132 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000929/0.9576, allocations: 323.1 kB / 1.132 GB, free: 9.141 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.001421/0.9591, allocations: 0.603 MB / 1.133 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.9609, allocations: 0.8546 MB / 1.134 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.9609, allocations: 4.188 kB / 1.134 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009579/0.9619, allocations: 0.5314 MB / 1.134 GB, free: 7.293 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.9631, allocations: 276.7 kB / 1.135 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004421/0.9676, allocations: 2.388 MB / 1.137 GB, free: 4.617 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006011/0.9682, allocations: 1.045 MB / 1.138 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.9685, allocations: 123.3 kB / 1.138 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of SimCode: time 4.31e-07/0.9685, allocations: 0 / 1.138 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of Templates: time 0.02623/0.9948, allocations: 18.97 MB / 1.157 GB, free: 0.4961 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/jenkins1/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