Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 106.4 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002058/0.002058, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.112/3.112, allocations: 0.4899 GB / 0.7915 GB, free: 33.16 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 70.3 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3423, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007495/0.3498, allocations: 5.186 MB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1909/0.5407, allocations: 154 MB / 1.477 GB, free: 3.02 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009388/0.5416, allocations: 23.81 kB / 1.477 GB, free: 2.996 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006408/0.5423, allocations: 202.1 kB / 1.477 GB, free: 2.797 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.5442, allocations: 0.587 MB / 1.478 GB, free: 2.211 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.5465, allocations: 0.8661 MB / 1.478 GB, free: 1.352 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002425/0.5489, allocations: 1.471 MB / 1.48 GB, free: 15.88 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.5499, allocations: 468 kB / 1.48 GB, free: 15.39 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.551, allocations: 0.545 MB / 1.481 GB, free: 14.85 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007401/0.5518, allocations: 0.5523 MB / 1.481 GB, free: 14.29 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000181/0.552, allocations: 128 kB / 1.481 GB, free: 14.17 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.553, allocations: 0.523 MB / 1.482 GB, free: 13.64 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003237/0.5534, allocations: 319 kB / 1.482 GB, free: 13.33 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006667/0.554, allocations: 0.6141 MB / 1.483 GB, free: 12.71 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002787/0.5568, allocations: 1.786 MB / 1.485 GB, free: 10.92 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5568, allocations: 0 / 1.485 GB, free: 10.92 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5568, allocations: 0 / 1.485 GB, free: 10.92 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.991e-05/0.5569, allocations: 0 / 1.485 GB, free: 10.92 MB / 1.186 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.002908/0.5598, allocations: 1.568 MB / 1.486 GB, free: 9.301 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.5598, allocations: 11.98 kB / 1.486 GB, free: 9.289 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/0.5618, allocations: 275.9 kB / 1.486 GB, free: 9.02 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.5631, allocations: 0.802 MB / 1.487 GB, free: 8.176 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/0.5632, allocations: 70 kB / 1.487 GB, free: 8.105 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.5633, allocations: 88 kB / 1.487 GB, free: 8.02 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.5652, allocations: 1.011 MB / 1.488 GB, free: 6.973 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.5652, allocations: 3.984 kB / 1.488 GB, free: 6.969 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.5653, allocations: 44 kB / 1.488 GB, free: 6.926 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.5653, allocations: 20 kB / 1.488 GB, free: 6.906 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.5674, allocations: 1.175 MB / 1.49 GB, free: 5.727 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004663/0.5721, allocations: 2.98 MB / 1.492 GB, free: 2.598 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/0.5747, allocations: 0.9155 MB / 1.493 GB, free: 1.656 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006267/0.5753, allocations: 298.7 kB / 1.494 GB, free: 1.363 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.609e-05/0.5754, allocations: 28.61 kB / 1.494 GB, free: 1.336 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009788/0.5763, allocations: 0.5038 MB / 1.494 GB, free: 0.8125 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.114e-06/0.5763, allocations: 0 / 1.494 GB, free: 0.8125 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003577/0.5799, allocations: 1.233 MB / 1.495 GB, free: 15.55 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.58, allocations: 196.5 kB / 1.496 GB, free: 15.32 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009468/0.581, allocations: 0.6684 MB / 1.496 GB, free: 14.64 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.611e-05/0.5811, allocations: 41.7 kB / 1.496 GB, free: 14.59 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.5814, allocations: 425 kB / 1.497 GB, free: 14.17 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.5817, allocations: 289.6 kB / 1.497 GB, free: 13.89 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.582, allocations: 166.6 kB / 1.497 GB, free: 13.71 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.5822, allocations: 386.8 kB / 1.497 GB, free: 13.33 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006261/0.5828, allocations: 273.8 kB / 1.498 GB, free: 13.06 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007299/0.5836, allocations: 375.1 kB / 1.498 GB, free: 12.69 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.5849, allocations: 0.6307 MB / 1.499 GB, free: 12.04 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5849, allocations: 0 / 1.499 GB, free: 12.04 MB / 1.201 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002221/0.5871, allocations: 0.8843 MB / 1.5 GB, free: 11.15 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5871, allocations: 4 kB / 1.5 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.5871, allocations: 4 kB / 1.5 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00063/0.5878, allocations: 88.8 kB / 1.5 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/0.5885, allocations: 167.7 kB / 1.5 GB, free: 10.89 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.5909, allocations: 1.622 MB / 1.501 GB, free: 9.117 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000825/0.5917, allocations: 107.5 kB / 1.501 GB, free: 9.012 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.191e-05/0.5918, allocations: 40.16 kB / 1.502 GB, free: 8.973 MB / 1.201 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.0005163/0.5923, allocations: 279.3 kB / 1.502 GB, free: 8.688 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.5925, allocations: 87.44 kB / 1.502 GB, free: 8.602 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002632/0.5951, allocations: 1.097 MB / 1.503 GB, free: 7.488 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.5952, allocations: 12 kB / 1.503 GB, free: 7.477 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.5952, allocations: 0 / 1.503 GB, free: 7.477 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.5952, allocations: 7.984 kB / 1.503 GB, free: 7.469 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/0.5988, allocations: 2.013 MB / 1.505 GB, free: 5.395 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.5988, allocations: 0 / 1.505 GB, free: 5.395 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/0.5994, allocations: 151.8 kB / 1.505 GB, free: 5.246 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/0.5999, allocations: 76.72 kB / 1.505 GB, free: 5.168 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.243e-05/0.6, allocations: 27.97 kB / 1.505 GB, free: 5.141 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.6021, allocations: 1.662 MB / 1.507 GB, free: 3.332 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6021, allocations: 0 / 1.507 GB, free: 3.332 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.6045, allocations: 1.022 MB / 1.508 GB, free: 2.289 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.6049, allocations: 280.2 kB / 1.508 GB, free: 1.996 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.6051, allocations: 24 kB / 1.508 GB, free: 1.973 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007064/0.6058, allocations: 67.92 kB / 1.508 GB, free: 1.906 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.6059, allocations: 64.91 kB / 1.508 GB, free: 1.844 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.849e-05/0.606, allocations: 39.97 kB / 1.508 GB, free: 1.805 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006697/0.6067, allocations: 491 kB / 1.509 GB, free: 1.332 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6067, allocations: 0 / 1.509 GB, free: 1.332 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009582/0.6076, allocations: 351 kB / 1.509 GB, free: 0.9883 MB / 1.201 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.002074/0.6097, allocations: 0.6057 MB / 1.51 GB, free: 0.5547 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001932/0.6116, allocations: 0.8236 MB / 1.51 GB, free: 15.71 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6116, allocations: 0 / 1.51 GB, free: 15.71 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.6127, allocations: 0.5041 MB / 1.511 GB, free: 15.2 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.614, allocations: 303.6 kB / 1.511 GB, free: 14.92 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.6173, allocations: 1.769 MB / 1.513 GB, free: 13.13 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007658/0.6181, allocations: 1.051 MB / 1.514 GB, free: 12.05 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008863/0.619, allocations: 274.9 kB / 1.514 GB, free: 11.77 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.6193, allocations: 111.4 kB / 1.514 GB, free: 11.66 MB / 1.217 GB Notification: Performance of SimCode: time 1.403e-06/0.6193, allocations: 0 / 1.514 GB, free: 11.66 MB / 1.217 GB Notification: Performance of Templates: time 0.02995/0.6492, allocations: 16.02 MB / 1.53 GB, free: 11.82 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.697901904117316]