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.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.00172/0.00172, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001848/0.001848, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.984 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.711/2.711, allocations: 476.7 MB / 0.7707 GB, free: 4.293 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.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) [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.002019/0.002019, allocations: 70.56 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.31, allocations: 169.9 MB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007795/0.3178, allocations: 5.23 MB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1837/0.5015, allocations: 154.2 MB / 1.439 GB, free: 11.77 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.5026, allocations: 23.81 kB / 1.439 GB, free: 11.75 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0009536/0.5035, allocations: 206.1 kB / 1.439 GB, free: 11.54 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002163/0.5057, allocations: 0.5813 MB / 1.44 GB, free: 10.96 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.5081, allocations: 0.8941 MB / 1.441 GB, free: 10.07 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00199/0.5101, allocations: 1.475 MB / 1.442 GB, free: 8.59 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009195/0.511, allocations: 472.6 kB / 1.443 GB, free: 8.105 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008695/0.5119, allocations: 0.5451 MB / 1.443 GB, free: 7.559 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007185/0.5126, allocations: 0.5523 MB / 1.444 GB, free: 7.004 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001705/0.5127, allocations: 128 kB / 1.444 GB, free: 6.879 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000988/0.5137, allocations: 0.5269 MB / 1.444 GB, free: 6.352 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003029/0.514, allocations: 319 kB / 1.445 GB, free: 6.039 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005733/0.5146, allocations: 0.6064 MB / 1.445 GB, free: 5.43 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00215/0.5168, allocations: 1.798 MB / 1.447 GB, free: 3.625 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.5168, allocations: 3.938 kB / 1.447 GB, free: 3.621 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5168, allocations: 4 kB / 1.447 GB, free: 3.617 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.344e-05/0.5168, allocations: 0 / 1.447 GB, free: 3.617 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.003013/0.5198, allocations: 1.485 MB / 1.448 GB, free: 2.098 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.5199, allocations: 11.97 kB / 1.448 GB, free: 2.086 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001781/0.52, allocations: 148.1 kB / 1.449 GB, free: 1.934 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.5219, allocations: 275.9 kB / 1.449 GB, free: 1.664 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.5233, allocations: 0.7414 MB / 1.45 GB, free: 0.8945 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.969e-05/0.5234, allocations: 70 kB / 1.45 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.5235, allocations: 92 kB / 1.45 GB, free: 0.7344 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.5252, allocations: 1.007 MB / 1.451 GB, free: 15.69 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.5252, allocations: 7.938 kB / 1.451 GB, free: 15.68 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-05/0.5253, allocations: 36 kB / 1.451 GB, free: 15.65 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.5253, allocations: 24 kB / 1.451 GB, free: 15.62 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.5273, allocations: 1.175 MB / 1.452 GB, free: 14.45 MB / 1.154 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.004679/0.532, allocations: 2.818 MB / 1.455 GB, free: 11.51 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/0.5346, allocations: 0.8467 MB / 1.455 GB, free: 10.66 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/0.5352, allocations: 286.7 kB / 1.456 GB, free: 10.38 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.279e-05/0.5352, allocations: 32.61 kB / 1.456 GB, free: 10.34 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009511/0.5362, allocations: 0.503 MB / 1.456 GB, free: 9.82 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.324e-06/0.5362, allocations: 0 / 1.456 GB, free: 9.82 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.003448/0.5396, allocations: 1.163 MB / 1.457 GB, free: 8.648 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.5398, allocations: 192.6 kB / 1.458 GB, free: 8.418 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009855/0.5407, allocations: 0.6607 MB / 1.458 GB, free: 7.746 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.138e-05/0.5408, allocations: 41.7 kB / 1.458 GB, free: 7.699 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.5412, allocations: 445 kB / 1.459 GB, free: 7.258 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/0.5415, allocations: 281.6 kB / 1.459 GB, free: 6.98 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.5417, allocations: 150.6 kB / 1.459 GB, free: 6.824 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.5419, allocations: 390.8 kB / 1.459 GB, free: 6.434 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000565/0.5425, allocations: 257.9 kB / 1.46 GB, free: 6.184 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006933/0.5432, allocations: 366.5 kB / 1.46 GB, free: 5.801 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.5444, allocations: 0.5994 MB / 1.461 GB, free: 5.191 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5444, allocations: 0 / 1.461 GB, free: 5.191 MB / 1.154 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002205/0.5466, allocations: 0.8335 MB / 1.461 GB, free: 4.352 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.5466, allocations: 8 kB / 1.461 GB, free: 4.344 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.5466, allocations: 0 / 1.461 GB, free: 4.344 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006386/0.5473, allocations: 84.86 kB / 1.462 GB, free: 4.258 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006954/0.548, allocations: 159.8 kB / 1.462 GB, free: 4.102 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/0.5503, allocations: 1.527 MB / 1.463 GB, free: 2.449 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008183/0.5511, allocations: 101.7 kB / 1.463 GB, free: 2.352 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.257e-05/0.5512, allocations: 27.98 kB / 1.463 GB, free: 2.324 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: 15 (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 (88): * Single equations (assignments): 87 * 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.0005263/0.5517, allocations: 278.2 kB / 1.464 GB, free: 2.043 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.5519, allocations: 87.44 kB / 1.464 GB, free: 1.957 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/0.5544, allocations: 1.097 MB / 1.465 GB, free: 0.8398 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.5544, allocations: 12 kB / 1.465 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.5545, allocations: 0 / 1.465 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.5545, allocations: 3.984 kB / 1.465 GB, free: 0.8242 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/0.5581, allocations: 2.004 MB / 1.467 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5581, allocations: 0 / 1.467 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006539/0.5588, allocations: 151.8 kB / 1.467 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004741/0.5592, allocations: 76.72 kB / 1.467 GB, free: 14.54 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-05/0.5593, allocations: 23.98 kB / 1.467 GB, free: 14.52 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/0.5613, allocations: 1.559 MB / 1.468 GB, free: 12.84 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5613, allocations: 4.062 kB / 1.468 GB, free: 12.84 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.5636, allocations: 1.03 MB / 1.469 GB, free: 11.79 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004944/0.5641, allocations: 203.1 kB / 1.47 GB, free: 11.59 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.5643, allocations: 19.94 kB / 1.47 GB, free: 11.57 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006875/0.565, allocations: 67.92 kB / 1.47 GB, free: 11.5 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.5651, allocations: 76.86 kB / 1.47 GB, free: 11.43 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.858e-05/0.5652, allocations: 43.91 kB / 1.47 GB, free: 11.38 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006452/0.5658, allocations: 483 kB / 1.47 GB, free: 10.92 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.5658, allocations: 0 / 1.47 GB, free: 10.92 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000975/0.5668, allocations: 339.1 kB / 1.471 GB, free: 10.59 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.004606/0.5714, allocations: 2.088 MB / 1.473 GB, free: 8.66 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.5735, allocations: 0.8001 MB / 1.473 GB, free: 7.844 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5735, allocations: 0 / 1.473 GB, free: 7.844 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.5745, allocations: 0.4963 MB / 1.474 GB, free: 7.336 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.576, allocations: 306.5 kB / 1.474 GB, free: 7.055 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.5882, allocations: 6.518 MB / 1.481 GB, free: 388 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007394/0.589, allocations: 1.047 MB / 1.482 GB, free: 15.3 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000891/0.5899, allocations: 271.1 kB / 1.482 GB, free: 15.03 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006295/0.5905, allocations: 411.3 kB / 1.482 GB, free: 14.63 MB / 1.186 GB Notification: Performance of SimCode: time 1.102e-06/0.5905, allocations: 3.938 kB / 1.482 GB, free: 14.62 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06711/0.6576, allocations: 23.22 MB / 1.505 GB, free: 7.66 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.22, allocations: 1 kB / 1.505 GB, free: 7.66 MB / 1.201 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 420.0] 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/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: 21.824729125015438]