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.001834/0.001834, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002206/0.002206, allocations: 192.6 kB / 22.17 MB, free: 5.652 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.586/1.586, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.842/2.842, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002023/0.002023, allocations: 67.5 kB / 1.109 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4044, allocations: 168.7 MB / 1.274 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.008347/0.4128, allocations: 5.167 MB / 1.279 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2057/0.6184, allocations: 151.3 MB / 1.427 GB, free: 14.25 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.6195, allocations: 19.88 kB / 1.427 GB, free: 14.23 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006985/0.6202, allocations: 206.1 kB / 1.427 GB, free: 14.02 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.6223, allocations: 0.5714 MB / 1.428 GB, free: 13.45 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.6247, allocations: 0.8703 MB / 1.428 GB, free: 12.59 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00205/0.6267, allocations: 1.436 MB / 1.43 GB, free: 11.15 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008622/0.6276, allocations: 468 kB / 1.43 GB, free: 10.67 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008188/0.6284, allocations: 0.5139 MB / 1.431 GB, free: 10.16 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007457/0.6292, allocations: 0.5523 MB / 1.431 GB, free: 9.602 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001932/0.6293, allocations: 128 kB / 1.431 GB, free: 9.477 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.6304, allocations: 495.6 kB / 1.432 GB, free: 8.992 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003502/0.6308, allocations: 319 kB / 1.432 GB, free: 8.68 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006107/0.6314, allocations: 0.5986 MB / 1.433 GB, free: 8.078 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002364/0.6338, allocations: 1.751 MB / 1.435 GB, free: 6.32 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.6338, allocations: 0 / 1.435 GB, free: 6.32 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6338, allocations: 0 / 1.435 GB, free: 6.32 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.431e-05/0.6338, allocations: 4 kB / 1.435 GB, free: 6.316 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.002895/0.6367, allocations: 1.521 MB / 1.436 GB, free: 4.738 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.6367, allocations: 12.03 kB / 1.436 GB, free: 4.727 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.6379, allocations: 224 kB / 1.436 GB, free: 4.508 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.6392, allocations: 0.7779 MB / 1.437 GB, free: 3.688 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.018e-05/0.6393, allocations: 81.92 kB / 1.437 GB, free: 3.609 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.6394, allocations: 91.94 kB / 1.437 GB, free: 3.52 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.6412, allocations: 1.011 MB / 1.438 GB, free: 2.469 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.6412, allocations: 0 / 1.438 GB, free: 2.469 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.37e-05/0.6413, allocations: 36 kB / 1.438 GB, free: 2.434 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.6413, allocations: 24 kB / 1.438 GB, free: 2.41 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.6434, allocations: 1.182 MB / 1.439 GB, free: 1.23 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.004753/0.6481, allocations: 2.856 MB / 1.442 GB, free: 14.25 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/0.6506, allocations: 0.9229 MB / 1.443 GB, free: 13.3 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005933/0.6512, allocations: 290.7 kB / 1.443 GB, free: 13.02 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.018e-05/0.6512, allocations: 28.61 kB / 1.443 GB, free: 12.99 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009231/0.6522, allocations: 0.497 MB / 1.444 GB, free: 12.47 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.144e-06/0.6522, allocations: 0 / 1.444 GB, free: 12.47 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.003462/0.6556, allocations: 1.237 MB / 1.445 GB, free: 11.21 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.6557, allocations: 192.5 kB / 1.445 GB, free: 10.98 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000874/0.6566, allocations: 0.641 MB / 1.446 GB, free: 10.33 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.878e-05/0.6567, allocations: 45.7 kB / 1.446 GB, free: 10.28 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/0.6571, allocations: 425.1 kB / 1.446 GB, free: 9.855 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.6573, allocations: 281.6 kB / 1.447 GB, free: 9.578 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.6576, allocations: 166.5 kB / 1.447 GB, free: 9.406 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.6578, allocations: 394.7 kB / 1.447 GB, free: 9.012 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/0.6584, allocations: 277.8 kB / 1.447 GB, free: 8.742 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007036/0.6591, allocations: 371 kB / 1.448 GB, free: 8.367 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.6603, allocations: 0.6229 MB / 1.448 GB, free: 7.73 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6603, allocations: 0 / 1.448 GB, free: 7.73 MB / 1.154 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002162/0.6625, allocations: 0.8842 MB / 1.449 GB, free: 6.84 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.6625, allocations: 4 kB / 1.449 GB, free: 6.836 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.6625, allocations: 3.984 kB / 1.449 GB, free: 6.832 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.6632, allocations: 88.84 kB / 1.449 GB, free: 6.742 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007348/0.6639, allocations: 167.7 kB / 1.449 GB, free: 6.578 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.6662, allocations: 1.623 MB / 1.451 GB, free: 4.805 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008255/0.667, allocations: 103.4 kB / 1.451 GB, free: 4.703 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-05/0.6671, allocations: 35.97 kB / 1.451 GB, free: 4.668 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.0005052/0.6676, allocations: 279.6 kB / 1.451 GB, free: 4.383 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.6678, allocations: 95.36 kB / 1.452 GB, free: 4.289 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/0.6704, allocations: 1.085 MB / 1.453 GB, free: 3.188 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.6704, allocations: 15.94 kB / 1.453 GB, free: 3.172 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.6704, allocations: 0 / 1.453 GB, free: 3.172 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.6704, allocations: 11.97 kB / 1.453 GB, free: 3.16 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003894/0.6743, allocations: 1.997 MB / 1.455 GB, free: 1.102 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.6743, allocations: 0 / 1.455 GB, free: 1.102 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/0.675, allocations: 151.8 kB / 1.455 GB, free: 0.9531 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004982/0.6755, allocations: 72.78 kB / 1.455 GB, free: 0.8789 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.6756, allocations: 27.98 kB / 1.455 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00256/0.6782, allocations: 1.666 MB / 1.456 GB, free: 15.04 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6782, allocations: 4.031 kB / 1.456 GB, free: 15.04 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.6808, allocations: 1.018 MB / 1.457 GB, free: 14 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/0.6814, allocations: 280.2 kB / 1.458 GB, free: 13.71 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.6816, allocations: 16 kB / 1.458 GB, free: 13.69 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007972/0.6824, allocations: 74.27 kB / 1.458 GB, free: 13.62 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.6825, allocations: 68.84 kB / 1.458 GB, free: 13.55 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/0.6827, allocations: 39.97 kB / 1.458 GB, free: 13.52 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008733/0.6836, allocations: 471 kB / 1.458 GB, free: 13.06 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6836, allocations: 0 / 1.458 GB, free: 13.06 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001166/0.6847, allocations: 343.1 kB / 1.459 GB, free: 12.72 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.002196/0.6869, allocations: 0.615 MB / 1.459 GB, free: 12.29 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002185/0.6891, allocations: 0.8274 MB / 1.46 GB, free: 11.45 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6891, allocations: 0 / 1.46 GB, free: 11.45 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.6903, allocations: 0.4924 MB / 1.461 GB, free: 10.95 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.6918, allocations: 319.3 kB / 1.461 GB, free: 10.66 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/0.6961, allocations: 1.756 MB / 1.463 GB, free: 8.879 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.6971, allocations: 1.043 MB / 1.464 GB, free: 7.809 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001169/0.6983, allocations: 274.9 kB / 1.464 GB, free: 7.535 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.6986, allocations: 103.4 kB / 1.464 GB, free: 7.434 MB / 1.17 GB Notification: Performance of SimCode: time 1.062e-06/0.6986, allocations: 3.938 kB / 1.464 GB, free: 7.43 MB / 1.17 GB Notification: Performance of Templates: time 0.03495/0.7336, allocations: 16.06 MB / 1.48 GB, free: 7.543 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.482114451937377]