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.001217/0.001217, allocations: 102.2 kB / 16.27 MB, free: 6 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.001216/0.001216, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.256/2.256, allocations: 390.3 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 65.08 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2723, allocations: 140.4 MB / 0.9503 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006768/0.2791, allocations: 4.385 MB / 0.9545 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7539/1.033, allocations: 150.6 MB / 1.102 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/1.034, allocations: 18.09 kB / 1.102 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006443/1.035, allocations: 172.2 kB / 1.102 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00202/1.037, allocations: 0.5074 MB / 1.102 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002303/1.039, allocations: 0.831 MB / 1.103 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001946/1.041, allocations: 1.312 MB / 1.104 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/1.042, allocations: 0.695 MB / 1.105 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009771/1.043, allocations: 0.4886 MB / 1.106 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007891/1.044, allocations: 0.5247 MB / 1.106 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002397/1.044, allocations: 125.7 kB / 1.106 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/1.046, allocations: 467.8 kB / 1.107 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003543/1.046, allocations: 324.4 kB / 1.107 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006941/1.047, allocations: 0.5797 MB / 1.107 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002749/1.049, allocations: 1.653 MB / 1.109 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.049, allocations: 0 / 1.109 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/1.049, allocations: 1.031 kB / 1.109 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.742e-05/1.05, allocations: 0 / 1.109 GB, free: 4.094 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.003382/1.053, allocations: 1.472 MB / 1.111 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/1.053, allocations: 10.78 kB / 1.111 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/1.054, allocations: 212.9 kB / 1.111 GB, free: 19.26 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/1.055, allocations: 0.7585 MB / 1.111 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-05/1.055, allocations: 75.03 kB / 1.112 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/1.056, allocations: 93.05 kB / 1.112 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/1.058, allocations: 1.008 MB / 1.113 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/1.058, allocations: 0 / 1.113 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-05/1.058, allocations: 43.95 kB / 1.113 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/1.058, allocations: 24.12 kB / 1.113 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/1.06, allocations: 1.17 MB / 1.114 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004568/1.064, allocations: 2.622 MB / 1.116 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/1.067, allocations: 0.9693 MB / 1.117 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005833/1.067, allocations: 313.1 kB / 1.118 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.431e-05/1.068, allocations: 27.47 kB / 1.118 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000954/1.068, allocations: 0.5072 MB / 1.118 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.435e-06/1.068, allocations: 0 / 1.118 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003393/1.072, allocations: 1.221 MB / 1.119 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.072, allocations: 192.5 kB / 1.12 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008821/1.073, allocations: 0.6453 MB / 1.12 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/1.073, allocations: 40.77 kB / 1.12 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/1.073, allocations: 419.7 kB / 1.121 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/1.074, allocations: 270.8 kB / 1.121 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/1.074, allocations: 167.4 kB / 1.121 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001686/1.074, allocations: 389.1 kB / 1.121 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000627/1.075, allocations: 274.9 kB / 1.122 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007046/1.075, allocations: 373.7 kB / 1.122 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/1.077, allocations: 0.6204 MB / 1.123 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.077, allocations: 0 / 1.123 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002048/1.079, allocations: 0.8642 MB / 1.123 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.079, allocations: 9.188 kB / 1.123 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.079, allocations: 8.375 kB / 1.123 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/1.079, allocations: 77.31 kB / 1.124 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/1.08, allocations: 173.9 kB / 1.124 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/1.082, allocations: 1.626 MB / 1.125 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008247/1.083, allocations: 97.62 kB / 1.125 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.711e-05/1.083, allocations: 37.08 kB / 1.125 GB, free: 14.89 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.0005427/1.083, allocations: 277.3 kB / 1.126 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/1.084, allocations: 83 kB / 1.126 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/1.086, allocations: 1.097 MB / 1.127 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/1.086, allocations: 9.812 kB / 1.127 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.086, allocations: 1.25 kB / 1.127 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/1.086, allocations: 4.406 kB / 1.127 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/1.089, allocations: 2.018 MB / 1.129 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.089, allocations: 0 / 1.129 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/1.09, allocations: 155.7 kB / 1.129 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004336/1.091, allocations: 80.8 kB / 1.129 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.733e-05/1.091, allocations: 24.64 kB / 1.129 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/1.092, allocations: 1.652 MB / 1.131 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.092, allocations: 1.469 kB / 1.131 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/1.095, allocations: 1.018 MB / 1.132 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/1.095, allocations: 276.7 kB / 1.132 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/1.095, allocations: 26.86 kB / 1.132 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006722/1.096, allocations: 62.19 kB / 1.132 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/1.096, allocations: 71.66 kB / 1.132 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-05/1.096, allocations: 36.72 kB / 1.132 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000589/1.097, allocations: 470.1 kB / 1.133 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.097, allocations: 0 / 1.133 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001039/1.098, allocations: 327.6 kB / 1.133 GB, free: 12.29 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.001346/1.099, allocations: 0.6054 MB / 1.133 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002607/1.102, allocations: 1.052 MB / 1.135 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.102, allocations: 1.062 kB / 1.135 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009987/1.103, allocations: 0.5311 MB / 1.135 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/1.104, allocations: 297.5 kB / 1.135 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/1.108, allocations: 1.888 MB / 1.137 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006287/1.109, allocations: 1.044 MB / 1.138 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/1.109, allocations: 116.3 kB / 1.138 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of SimCode: time 6.91e-07/1.109, allocations: 1.094 kB / 1.138 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.02841/1.137, allocations: 19.1 MB / 1.157 GB, free: 3.441 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 -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