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.001252/0.001252, allocations: 103.8 kB / 16.35 MB, free: 5.875 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.001271/0.001271, allocations: 194.4 kB / 17.3 MB, free: 5.516 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.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.327/2.327, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 66.48 kB / 0.814 GB, free: 32.51 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.332, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006651/0.3387, allocations: 4.4 MB / 0.9554 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7447/1.083, allocations: 150.6 MB / 1.102 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009509/1.084, allocations: 18.97 kB / 1.102 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006426/1.085, allocations: 171.3 kB / 1.103 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001953/1.087, allocations: 0.5044 MB / 1.103 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002515/1.09, allocations: 0.8342 MB / 1.104 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002853/1.092, allocations: 1.315 MB / 1.105 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/1.094, allocations: 0.7039 MB / 1.106 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/1.095, allocations: 0.494 MB / 1.106 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/1.096, allocations: 0.5234 MB / 1.107 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003009/1.097, allocations: 126.1 kB / 1.107 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/1.098, allocations: 499.8 kB / 1.108 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004674/1.099, allocations: 315.8 kB / 1.108 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000841/1.1, allocations: 0.5777 MB / 1.108 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003679/1.103, allocations: 1.694 MB / 1.11 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.103, allocations: 1.344 kB / 1.11 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.206e-06/1.103, allocations: 4 kB / 1.11 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.358e-05/1.103, allocations: 0 / 1.11 GB, free: 4.578 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.005693/1.109, allocations: 1.473 MB / 1.111 GB, free: 19.79 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.109, allocations: 9.938 kB / 1.111 GB, free: 19.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/1.111, allocations: 213.3 kB / 1.112 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/1.112, allocations: 0.7764 MB / 1.112 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.471e-05/1.112, allocations: 75.81 kB / 1.113 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/1.112, allocations: 92.31 kB / 1.113 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/1.114, allocations: 1.004 MB / 1.114 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/1.114, allocations: 2.656 kB / 1.114 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.899e-05/1.114, allocations: 40.56 kB / 1.114 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/1.114, allocations: 23.75 kB / 1.114 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/1.116, allocations: 1.182 MB / 1.115 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004675/1.121, allocations: 2.578 MB / 1.117 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/1.123, allocations: 0.9668 MB / 1.118 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005762/1.124, allocations: 315.5 kB / 1.119 GB, free: 18.31 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-05/1.124, allocations: 34.36 kB / 1.119 GB, free: 18.31 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000898/1.125, allocations: 0.4932 MB / 1.119 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.314e-06/1.125, allocations: 5.25 kB / 1.119 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003321/1.128, allocations: 1.221 MB / 1.12 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/1.129, allocations: 189.9 kB / 1.12 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/1.13, allocations: 0.6411 MB / 1.121 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/1.13, allocations: 41.23 kB / 1.121 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/1.13, allocations: 421.9 kB / 1.122 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/1.13, allocations: 269.1 kB / 1.122 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/1.131, allocations: 170.9 kB / 1.122 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.131, allocations: 392 kB / 1.122 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/1.131, allocations: 272.6 kB / 1.123 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007335/1.132, allocations: 371.7 kB / 1.123 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/1.133, allocations: 0.618 MB / 1.124 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.133, allocations: 1.25 kB / 1.124 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002026/1.135, allocations: 0.869 MB / 1.124 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/1.135, allocations: 11.39 kB / 1.124 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.135, allocations: 1 kB / 1.124 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005951/1.136, allocations: 81.81 kB / 1.124 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00071/1.137, allocations: 169.7 kB / 1.125 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/1.139, allocations: 1.628 MB / 1.126 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008757/1.139, allocations: 88.28 kB / 1.126 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.76e-05/1.14, allocations: 38.23 kB / 1.126 GB, free: 15.27 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.0005541/1.14, allocations: 285 kB / 1.127 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/1.14, allocations: 84.06 kB / 1.127 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/1.143, allocations: 1.096 MB / 1.128 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/1.143, allocations: 13.03 kB / 1.128 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/1.143, allocations: 4 kB / 1.128 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/1.143, allocations: 5.344 kB / 1.128 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/1.146, allocations: 2.009 MB / 1.13 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/1.146, allocations: 0 / 1.13 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/1.147, allocations: 153.2 kB / 1.13 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004237/1.147, allocations: 71.19 kB / 1.13 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-05/1.147, allocations: 29.02 kB / 1.13 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/1.149, allocations: 1.66 MB / 1.132 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/1.149, allocations: 1.203 kB / 1.132 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/1.151, allocations: 1.021 MB / 1.133 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/1.152, allocations: 274.6 kB / 1.133 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/1.152, allocations: 20.12 kB / 1.133 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006777/1.153, allocations: 72.58 kB / 1.133 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/1.153, allocations: 70.64 kB / 1.133 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.1e-05/1.153, allocations: 37.52 kB / 1.133 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006899/1.154, allocations: 466.6 kB / 1.134 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.5e-07/1.154, allocations: 3.938 kB / 1.134 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001188/1.155, allocations: 328.7 kB / 1.134 GB, free: 12.62 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: 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.001394/1.156, allocations: 0.6087 MB / 1.134 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001797/1.158, allocations: 0.8514 MB / 1.135 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.158, allocations: 1.094 kB / 1.135 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.159, allocations: 0.5328 MB / 1.136 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/1.16, allocations: 280.3 kB / 1.136 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004386/1.165, allocations: 1.826 MB / 1.138 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007653/1.166, allocations: 1.048 MB / 1.139 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009913/1.167, allocations: 272.9 kB / 1.139 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/1.167, allocations: 111 kB / 1.139 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of SimCode: time 1.262e-06/1.167, allocations: 1.156 kB / 1.139 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of Templates: time 0.02856/1.196, allocations: 15.13 MB / 1.154 GB, free: 5.996 MB / 0.8731 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 -s cvode -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