Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 187.5 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.787/2.787, allocations: 476.7 MB / 0.7646 GB, free: 9.906 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 62.67 kB / 1.11 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3501, allocations: 168.8 MB / 1.274 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007426/0.3575, allocations: 5.176 MB / 1.279 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1972/0.5546, allocations: 151.3 MB / 1.427 GB, free: 13.93 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.556, allocations: 23.81 kB / 1.427 GB, free: 13.9 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.557, allocations: 206.1 kB / 1.427 GB, free: 13.7 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.5599, allocations: 0.5634 MB / 1.428 GB, free: 13.14 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.5623, allocations: 0.8804 MB / 1.429 GB, free: 12.26 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00253/0.5649, allocations: 1.44 MB / 1.43 GB, free: 10.81 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.566, allocations: 468.5 kB / 1.431 GB, free: 10.33 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.5671, allocations: 0.5295 MB / 1.431 GB, free: 9.801 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.5683, allocations: 0.5469 MB / 1.432 GB, free: 9.254 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000382/0.5687, allocations: 124 kB / 1.432 GB, free: 9.133 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.5701, allocations: 0.4918 MB / 1.432 GB, free: 8.641 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000543/0.5707, allocations: 319 kB / 1.433 GB, free: 8.328 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.5718, allocations: 0.5986 MB / 1.433 GB, free: 7.727 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003014/0.5748, allocations: 1.747 MB / 1.435 GB, free: 5.973 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5748, allocations: 0 / 1.435 GB, free: 5.973 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5748, allocations: 0 / 1.435 GB, free: 5.973 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.611e-05/0.5748, allocations: 0 / 1.435 GB, free: 5.973 MB / 1.139 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.002861/0.5777, allocations: 1.462 MB / 1.436 GB, free: 4.48 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5777, allocations: 12.03 kB / 1.436 GB, free: 4.469 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.5789, allocations: 228 kB / 1.436 GB, free: 4.246 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.5802, allocations: 0.7096 MB / 1.437 GB, free: 3.508 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.819e-05/0.5803, allocations: 73.98 kB / 1.437 GB, free: 3.438 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.5804, allocations: 92 kB / 1.437 GB, free: 3.348 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.5823, allocations: 1.007 MB / 1.438 GB, free: 2.301 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.5824, allocations: 0 / 1.438 GB, free: 2.301 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.456e-05/0.5824, allocations: 44 kB / 1.438 GB, free: 2.258 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/0.5825, allocations: 24 kB / 1.438 GB, free: 2.234 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.5846, allocations: 1.175 MB / 1.44 GB, free: 1.062 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004866/0.5895, allocations: 2.81 MB / 1.442 GB, free: 14.12 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002486/0.5919, allocations: 0.8467 MB / 1.443 GB, free: 13.28 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/0.5925, allocations: 294.6 kB / 1.443 GB, free: 12.98 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.124e-05/0.5926, allocations: 36.59 kB / 1.443 GB, free: 12.95 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009609/0.5936, allocations: 0.4931 MB / 1.444 GB, free: 12.44 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.845e-06/0.5936, allocations: 0 / 1.444 GB, free: 12.44 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.003435/0.597, allocations: 1.158 MB / 1.445 GB, free: 11.27 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.5972, allocations: 196.5 kB / 1.445 GB, free: 11.04 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009762/0.5982, allocations: 0.6371 MB / 1.446 GB, free: 10.39 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.814e-05/0.5982, allocations: 41.7 kB / 1.446 GB, free: 10.34 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000405/0.5986, allocations: 429 kB / 1.446 GB, free: 9.918 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/0.5989, allocations: 281.6 kB / 1.447 GB, free: 9.641 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.5992, allocations: 166.5 kB / 1.447 GB, free: 9.469 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.5994, allocations: 386.8 kB / 1.447 GB, free: 9.082 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006139/0.6, allocations: 277.8 kB / 1.447 GB, free: 8.812 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007182/0.6007, allocations: 379.1 kB / 1.448 GB, free: 8.43 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.602, allocations: 0.619 MB / 1.448 GB, free: 7.801 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.602, allocations: 0 / 1.448 GB, free: 7.801 MB / 1.154 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0023/0.6043, allocations: 0.8803 MB / 1.449 GB, free: 6.91 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.6044, allocations: 10.03 kB / 1.449 GB, free: 6.902 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.6044, allocations: 3.984 kB / 1.449 GB, free: 6.898 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006547/0.605, allocations: 84.86 kB / 1.449 GB, free: 6.812 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007341/0.6058, allocations: 171.7 kB / 1.449 GB, free: 6.645 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/0.6084, allocations: 1.53 MB / 1.451 GB, free: 4.992 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008479/0.6092, allocations: 99.39 kB / 1.451 GB, free: 4.895 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.604e-05/0.6093, allocations: 39.97 kB / 1.451 GB, free: 4.855 MB / 1.154 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.0005634/0.6099, allocations: 277.9 kB / 1.451 GB, free: 4.574 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.6101, allocations: 91.42 kB / 1.451 GB, free: 4.484 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/0.6129, allocations: 1.089 MB / 1.452 GB, free: 3.375 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.6129, allocations: 8 kB / 1.452 GB, free: 3.367 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6129, allocations: 8 kB / 1.452 GB, free: 3.359 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.6129, allocations: 3.984 kB / 1.452 GB, free: 3.355 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003924/0.6168, allocations: 1.973 MB / 1.454 GB, free: 1.332 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.6168, allocations: 0 / 1.454 GB, free: 1.332 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006538/0.6175, allocations: 155.7 kB / 1.455 GB, free: 1.18 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004666/0.618, allocations: 72.78 kB / 1.455 GB, free: 1.105 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-05/0.618, allocations: 23.98 kB / 1.455 GB, free: 1.082 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/0.6202, allocations: 1.563 MB / 1.456 GB, free: 15.4 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.6202, allocations: 4.031 kB / 1.456 GB, free: 15.4 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.6226, allocations: 1.014 MB / 1.457 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/0.6231, allocations: 207 kB / 1.457 GB, free: 14.16 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.6233, allocations: 16 kB / 1.457 GB, free: 14.14 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007305/0.624, allocations: 67.92 kB / 1.457 GB, free: 14.08 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.6242, allocations: 76.86 kB / 1.458 GB, free: 14 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.407e-05/0.6243, allocations: 39.97 kB / 1.458 GB, free: 13.96 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006918/0.625, allocations: 467 kB / 1.458 GB, free: 13.51 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.5e-07/0.625, allocations: 0 / 1.458 GB, free: 13.51 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009882/0.626, allocations: 347.1 kB / 1.458 GB, free: 13.17 MB / 1.17 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.002065/0.628, allocations: 0.6079 MB / 1.459 GB, free: 12.73 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001949/0.63, allocations: 0.8197 MB / 1.46 GB, free: 11.9 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.63, allocations: 7.875 kB / 1.46 GB, free: 11.89 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.6311, allocations: 0.5002 MB / 1.46 GB, free: 11.39 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.6327, allocations: 307.4 kB / 1.461 GB, free: 11.11 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.6367, allocations: 1.753 MB / 1.462 GB, free: 9.328 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008364/0.6376, allocations: 1.043 MB / 1.463 GB, free: 8.25 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000953/0.6385, allocations: 274.8 kB / 1.464 GB, free: 7.977 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.6388, allocations: 107.3 kB / 1.464 GB, free: 7.871 MB / 1.17 GB Notification: Performance of SimCode: time 7.42e-07/0.6388, allocations: 0 / 1.464 GB, free: 7.871 MB / 1.17 GB Notification: Performance of Templates: time 0.03259/0.6714, allocations: 16.27 MB / 1.48 GB, free: 7.785 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.6864966256544]