Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00155/0.00155, allocations: 110.4 kB / 15.99 MB, free: 6.367 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.001534/0.001534, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.399/1.399, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.727/2.727, allocations: 482.4 MB / 0.755 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 63.66 kB / 0.924 GB, free: 344 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8547/0.8567, allocations: 162.2 MB / 1.082 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00727/0.864, allocations: 5.128 MB / 1.087 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.2002/1.064, allocations: 148.4 MB / 1.232 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/1.066, allocations: 19.94 kB / 1.232 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007513/1.066, allocations: 154.8 kB / 1.233 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002153/1.069, allocations: 0.489 MB / 1.233 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/1.071, allocations: 0.7551 MB / 1.234 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001881/1.073, allocations: 1.428 MB / 1.235 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/1.074, allocations: 0.6599 MB / 1.236 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008643/1.074, allocations: 0.51 MB / 1.236 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007419/1.075, allocations: 0.5485 MB / 1.237 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001829/1.075, allocations: 124 kB / 1.237 GB, free: 408 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/1.076, allocations: 463.7 kB / 1.237 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003175/1.077, allocations: 322.9 kB / 1.238 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00065/1.077, allocations: 0.6025 MB / 1.238 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00178/1.079, allocations: 1.306 MB / 1.24 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.079, allocations: 0 / 1.24 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/1.079, allocations: 0 / 1.24 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.305e-05/1.079, allocations: 0 / 1.24 GB, free: 13.71 MB / 0.9669 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.002867/1.082, allocations: 1.504 MB / 1.241 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.082, allocations: 8.031 kB / 1.241 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/1.083, allocations: 215.3 kB / 1.241 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/1.084, allocations: 0.7538 MB / 1.242 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-05/1.085, allocations: 74 kB / 1.242 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/1.085, allocations: 88 kB / 1.242 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/1.087, allocations: 1.011 MB / 1.243 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/1.087, allocations: 4 kB / 1.243 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/1.087, allocations: 40 kB / 1.243 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.958e-05/1.087, allocations: 24 kB / 1.243 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/1.089, allocations: 1.171 MB / 1.244 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005218/1.094, allocations: 2.983 MB / 1.247 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002567/1.097, allocations: 0.9825 MB / 1.248 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006355/1.098, allocations: 318.6 kB / 1.249 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-05/1.098, allocations: 32.59 kB / 1.249 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/1.099, allocations: 0.4991 MB / 1.249 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=82): time 2.845e-06/1.099, allocations: 0 / 1.249 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of matching and sorting (n=82): time 0.003546/1.102, allocations: 1.229 MB / 1.25 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/1.102, allocations: 192.5 kB / 1.25 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009558/1.103, allocations: 0.6449 MB / 1.251 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.473e-05/1.104, allocations: 41.7 kB / 1.251 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/1.104, allocations: 424.2 kB / 1.251 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/1.104, allocations: 268.2 kB / 1.252 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/1.104, allocations: 166.4 kB / 1.252 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000222/1.105, allocations: 386.8 kB / 1.252 GB, free: 276 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006294/1.105, allocations: 281.9 kB / 1.253 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000714/1.106, allocations: 375 kB / 1.253 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/1.107, allocations: 0.6268 MB / 1.254 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.107, allocations: 0 / 1.254 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002237/1.11, allocations: 0.8722 MB / 1.254 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/1.11, allocations: 4 kB / 1.254 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.11, allocations: 8.094 kB / 1.254 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/1.11, allocations: 80.77 kB / 1.254 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000742/1.111, allocations: 171.7 kB / 1.255 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/1.114, allocations: 1.633 MB / 1.256 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009048/1.114, allocations: 99.25 kB / 1.256 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.701e-05/1.115, allocations: 44.03 kB / 1.256 GB, free: 11.91 MB / 0.9825 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.0005583/1.115, allocations: 279.2 kB / 1.257 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/1.115, allocations: 82.97 kB / 1.257 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/1.118, allocations: 1.101 MB / 1.258 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.118, allocations: 8 kB / 1.258 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/1.118, allocations: 4 kB / 1.258 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/1.118, allocations: 3.984 kB / 1.258 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003849/1.122, allocations: 1.997 MB / 1.26 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.122, allocations: 0 / 1.26 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006439/1.123, allocations: 151.8 kB / 1.26 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004674/1.123, allocations: 72.78 kB / 1.26 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-05/1.123, allocations: 27.97 kB / 1.26 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/1.125, allocations: 1.654 MB / 1.262 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.125, allocations: 0 / 1.262 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/1.128, allocations: 1.027 MB / 1.263 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005147/1.128, allocations: 267.7 kB / 1.263 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/1.129, allocations: 23.98 kB / 1.263 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007334/1.129, allocations: 66.44 kB / 1.263 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/1.129, allocations: 72.95 kB / 1.263 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-05/1.13, allocations: 47.97 kB / 1.263 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000695/1.13, allocations: 467 kB / 1.263 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.51e-07/1.13, allocations: 3.938 kB / 1.263 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001044/1.131, allocations: 339.1 kB / 1.264 GB, free: 3.996 MB / 0.9825 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.002039/1.133, allocations: 0.6049 MB / 1.264 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002899/1.136, allocations: 1.054 MB / 1.265 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/1.136, allocations: 0 / 1.265 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/1.137, allocations: 0.5356 MB / 1.266 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/1.139, allocations: 312.6 kB / 1.266 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/1.143, allocations: 2.211 MB / 1.268 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007949/1.144, allocations: 1.043 MB / 1.269 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/1.144, allocations: 123.4 kB / 1.27 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of SimCode: time 8.12e-07/1.144, allocations: 4 kB / 1.27 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of Templates: time 0.03027/1.174, allocations: 19.31 MB / 1.288 GB, free: 11 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches