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.001966/0.001966, allocations: 114.7 kB / 17.16 MB, free: 6.004 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.002299/0.002299, allocations: 212.6 kB / 20.13 MB, free: 3.055 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.556/1.556, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.884/2.884, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="cs",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.002555/0.002555, allocations: 67.89 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.026, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.009525/1.035, allocations: 5.194 MB / 1.284 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2094/1.245, allocations: 154 MB / 1.434 GB, free: 12.69 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/1.246, allocations: 23.81 kB / 1.434 GB, free: 12.66 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007468/1.247, allocations: 194.1 kB / 1.435 GB, free: 12.47 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002362/1.249, allocations: 0.5806 MB / 1.435 GB, free: 11.89 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002422/1.252, allocations: 0.8698 MB / 1.436 GB, free: 11.03 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001994/1.254, allocations: 1.471 MB / 1.437 GB, free: 9.551 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007961/1.255, allocations: 476.7 kB / 1.438 GB, free: 9.062 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007778/1.255, allocations: 0.5372 MB / 1.438 GB, free: 8.523 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006665/1.256, allocations: 0.5562 MB / 1.439 GB, free: 7.965 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/1.256, allocations: 128 kB / 1.439 GB, free: 7.84 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/1.257, allocations: 0.5191 MB / 1.44 GB, free: 7.32 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003099/1.258, allocations: 323 kB / 1.44 GB, free: 7.004 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005717/1.258, allocations: 0.618 MB / 1.441 GB, free: 6.383 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002206/1.26, allocations: 1.782 MB / 1.442 GB, free: 4.594 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.26, allocations: 0 / 1.442 GB, free: 4.594 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.453e-06/1.26, allocations: 0 / 1.442 GB, free: 4.594 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.487e-05/1.26, allocations: 3.938 kB / 1.442 GB, free: 4.59 MB / 1.123 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.00283/1.263, allocations: 1.564 MB / 1.444 GB, free: 2.969 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/1.263, allocations: 16.03 kB / 1.444 GB, free: 2.953 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.794e-05/1.263, allocations: 26.12 kB / 1.444 GB, free: 2.926 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001823/1.264, allocations: 152.1 kB / 1.444 GB, free: 2.77 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/1.265, allocations: 279.9 kB / 1.444 GB, free: 2.496 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/1.267, allocations: 0.8016 MB / 1.445 GB, free: 1.652 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.881e-05/1.267, allocations: 74 kB / 1.445 GB, free: 1.582 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/1.267, allocations: 88 kB / 1.445 GB, free: 1.496 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/1.269, allocations: 1.011 MB / 1.446 GB, free: 456 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/1.269, allocations: 4 kB / 1.446 GB, free: 452 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.521e-05/1.269, allocations: 40 kB / 1.446 GB, free: 412 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/1.269, allocations: 27.94 kB / 1.446 GB, free: 384 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/1.271, allocations: 1.171 MB / 1.447 GB, free: 15.2 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.004569/1.276, allocations: 2.876 MB / 1.45 GB, free: 12.2 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/1.278, allocations: 0.9284 MB / 1.451 GB, free: 11.25 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005988/1.279, allocations: 290.7 kB / 1.451 GB, free: 10.96 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-05/1.279, allocations: 32.61 kB / 1.451 GB, free: 10.93 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009296/1.28, allocations: 0.4956 MB / 1.452 GB, free: 10.42 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 2.865e-06/1.28, allocations: 0 / 1.452 GB, free: 10.42 MB / 1.139 GB Notification: Performance of matching and sorting (n=82): time 0.003444/1.283, allocations: 1.245 MB / 1.453 GB, free: 9.145 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/1.283, allocations: 188.6 kB / 1.453 GB, free: 8.918 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008764/1.284, allocations: 0.6607 MB / 1.454 GB, free: 8.254 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.776e-05/1.284, allocations: 45.7 kB / 1.454 GB, free: 8.203 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/1.284, allocations: 441 kB / 1.454 GB, free: 7.766 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/1.285, allocations: 277.6 kB / 1.455 GB, free: 7.492 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/1.285, allocations: 154.6 kB / 1.455 GB, free: 7.336 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002131/1.285, allocations: 386.8 kB / 1.455 GB, free: 6.949 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005592/1.286, allocations: 257.8 kB / 1.455 GB, free: 6.699 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007029/1.286, allocations: 370.5 kB / 1.456 GB, free: 6.312 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/1.288, allocations: 0.6033 MB / 1.456 GB, free: 5.699 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.288, allocations: 3.938 kB / 1.456 GB, free: 5.695 MB / 1.139 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002078/1.29, allocations: 0.8257 MB / 1.457 GB, free: 4.855 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.29, allocations: 4 kB / 1.457 GB, free: 4.852 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.29, allocations: 8.094 kB / 1.457 GB, free: 4.844 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/1.29, allocations: 80.72 kB / 1.457 GB, free: 4.762 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/1.291, allocations: 163.8 kB / 1.457 GB, free: 4.602 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/1.293, allocations: 1.634 MB / 1.459 GB, free: 2.824 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007836/1.294, allocations: 93.53 kB / 1.459 GB, free: 2.734 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.278e-05/1.294, allocations: 27.98 kB / 1.459 GB, free: 2.707 MB / 1.139 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.0005401/1.295, allocations: 273.6 kB / 1.459 GB, free: 2.43 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/1.295, allocations: 91.44 kB / 1.459 GB, free: 2.34 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/1.298, allocations: 1.097 MB / 1.461 GB, free: 1.223 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/1.298, allocations: 8 kB / 1.461 GB, free: 1.215 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/1.298, allocations: 0 / 1.461 GB, free: 1.215 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/1.298, allocations: 11.95 kB / 1.461 GB, free: 1.203 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003435/1.301, allocations: 2.021 MB / 1.463 GB, free: 15.12 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.301, allocations: 0 / 1.463 GB, free: 15.12 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/1.302, allocations: 159.7 kB / 1.463 GB, free: 14.97 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004531/1.302, allocations: 68.8 kB / 1.463 GB, free: 14.9 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.547e-05/1.302, allocations: 27.97 kB / 1.463 GB, free: 14.87 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/1.304, allocations: 1.654 MB / 1.464 GB, free: 13.07 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.304, allocations: 0 / 1.464 GB, free: 13.07 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/1.307, allocations: 1.03 MB / 1.465 GB, free: 12.02 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004848/1.307, allocations: 284.2 kB / 1.466 GB, free: 11.73 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/1.307, allocations: 19.94 kB / 1.466 GB, free: 11.71 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007969/1.308, allocations: 63.92 kB / 1.466 GB, free: 11.64 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/1.308, allocations: 80.83 kB / 1.466 GB, free: 11.57 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/1.308, allocations: 35.98 kB / 1.466 GB, free: 11.53 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00107/1.309, allocations: 491 kB / 1.466 GB, free: 11.05 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/1.309, allocations: 0 / 1.466 GB, free: 11.05 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001617/1.311, allocations: 339.1 kB / 1.467 GB, free: 10.72 MB / 1.154 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.006419/1.317, allocations: 2.09 MB / 1.469 GB, free: 8.789 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002662/1.32, allocations: 0.7962 MB / 1.469 GB, free: 7.98 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.32, allocations: 0 / 1.469 GB, free: 7.98 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001498/1.322, allocations: 0.5002 MB / 1.47 GB, free: 7.469 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/1.324, allocations: 315 kB / 1.47 GB, free: 7.188 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/1.341, allocations: 6.525 MB / 1.477 GB, free: 0.5078 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.342, allocations: 1.043 MB / 1.478 GB, free: 15.43 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001371/1.343, allocations: 279 kB / 1.478 GB, free: 15.16 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009134/1.344, allocations: 415.3 kB / 1.478 GB, free: 14.75 MB / 1.17 GB Notification: Performance of SimCode: time 9.62e-07/1.344, allocations: 0 / 1.478 GB, free: 14.75 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06027/1.404, allocations: 22.72 MB / 1.501 GB, free: 8.387 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.84, allocations: 4 kB / 1.501 GB, free: 8.383 MB / 1.186 GB " [Timeout remaining time 283] (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: 24.140826716960873]