Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001404/0.001404, allocations: 108.2 kB / 17.54 MB, free: 4.766 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.001501/0.001501, allocations: 182.7 kB / 20.71 MB, free: 1.609 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.323/1.323, allocations: 225.6 MB / 249.3 MB, free: 3.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.344/2.344, allocations: 443.5 MB / 0.7304 GB, free: 14.1 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 75.88 kB / 1.059 GB, free: 1.035 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2603, allocations: 160.7 MB / 1.216 GB, free: 20 kB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006806/0.2671, allocations: 5.201 MB / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.6485/0.9156, allocations: 151.2 MB / 1.368 GB, free: 2.156 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007699/0.9164, allocations: 15.75 kB / 1.368 GB, free: 2.152 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007113/0.9171, allocations: 206 kB / 1.368 GB, free: 2.02 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.919, allocations: 0.5652 MB / 1.369 GB, free: 1.695 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.921, allocations: 0.8793 MB / 1.37 GB, free: 1.238 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001619/0.9226, allocations: 1.438 MB / 1.371 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006988/0.9233, allocations: 472 kB / 1.372 GB, free: 212 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005808/0.9239, allocations: 0.5093 MB / 1.372 GB, free: 15.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005766/0.9244, allocations: 0.5379 MB / 1.373 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.9246, allocations: 130.1 kB / 1.373 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008058/0.9254, allocations: 0.4887 MB / 1.373 GB, free: 15.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000279/0.9257, allocations: 325.3 kB / 1.374 GB, free: 15.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005112/0.9262, allocations: 0.6003 MB / 1.374 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.9279, allocations: 1.743 MB / 1.376 GB, free: 14.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.9279, allocations: 1.312 kB / 1.376 GB, free: 14.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9279, allocations: 0 / 1.376 GB, free: 14.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.9279, allocations: 0 / 1.376 GB, free: 14.2 MB / 1.061 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.002499/0.9304, allocations: 1.54 MB / 1.377 GB, free: 13.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.9305, allocations: 9.062 kB / 1.377 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001649/0.9306, allocations: 150.7 kB / 1.378 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.9317, allocations: 219.3 kB / 1.378 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.9328, allocations: 0.7895 MB / 1.379 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-05/0.9328, allocations: 76.06 kB / 1.379 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.9329, allocations: 91.36 kB / 1.379 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.9345, allocations: 1.007 MB / 1.38 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.9345, allocations: 0 / 1.38 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/0.9346, allocations: 42.09 kB / 1.38 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.9347, allocations: 22.03 kB / 1.38 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.9365, allocations: 1.175 MB / 1.381 GB, free: 11.55 MB / 1.061 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.004124/0.9406, allocations: 2.869 MB / 1.384 GB, free: 9.266 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.943, allocations: 0.9209 MB / 1.385 GB, free: 8.746 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005803/0.9435, allocations: 289.7 kB / 1.385 GB, free: 8.594 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-05/0.9436, allocations: 30.52 kB / 1.385 GB, free: 8.578 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008804/0.9445, allocations: 0.501 MB / 1.385 GB, free: 8.258 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 2.154e-06/0.9445, allocations: 0 / 1.385 GB, free: 8.258 MB / 1.061 GB Notification: Performance of matching and sorting (n=82): time 0.003181/0.9477, allocations: 1.228 MB / 1.387 GB, free: 7.594 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.9478, allocations: 201.3 kB / 1.387 GB, free: 7.363 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007574/0.9486, allocations: 0.6437 MB / 1.387 GB, free: 6.988 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.766e-05/0.9486, allocations: 42.02 kB / 1.388 GB, free: 6.945 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.949, allocations: 437.9 kB / 1.388 GB, free: 6.562 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.9492, allocations: 278.7 kB / 1.388 GB, free: 6.32 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.9494, allocations: 149.4 kB / 1.388 GB, free: 6.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.9496, allocations: 389 kB / 1.389 GB, free: 5.859 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/0.9501, allocations: 257.9 kB / 1.389 GB, free: 5.734 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/0.9508, allocations: 367.6 kB / 1.389 GB, free: 5.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.9519, allocations: 0.6022 MB / 1.39 GB, free: 5.176 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9519, allocations: 1 kB / 1.39 GB, free: 5.176 MB / 1.061 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001891/0.9538, allocations: 0.8248 MB / 1.391 GB, free: 4.746 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.9538, allocations: 9.281 kB / 1.391 GB, free: 4.742 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.9538, allocations: 1.125 kB / 1.391 GB, free: 4.742 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000558/0.9544, allocations: 89.95 kB / 1.391 GB, free: 4.695 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/0.955, allocations: 150.4 kB / 1.391 GB, free: 4.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.9571, allocations: 1.631 MB / 1.393 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000682/0.9577, allocations: 93.41 kB / 1.393 GB, free: 3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.033e-05/0.9578, allocations: 39.16 kB / 1.393 GB, free: 2.98 MB / 1.061 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.0004047/0.9582, allocations: 268.7 kB / 1.393 GB, free: 2.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.9584, allocations: 92.19 kB / 1.393 GB, free: 2.719 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/0.9607, allocations: 1.098 MB / 1.394 GB, free: 2.105 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.9607, allocations: 9.625 kB / 1.394 GB, free: 2.105 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.9607, allocations: 0.875 kB / 1.394 GB, free: 2.105 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.9607, allocations: 7.969 kB / 1.394 GB, free: 2.098 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/0.9639, allocations: 1.999 MB / 1.396 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.9639, allocations: 0 / 1.396 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.9645, allocations: 155.6 kB / 1.396 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004092/0.9649, allocations: 74.12 kB / 1.396 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.965, allocations: 32.42 kB / 1.396 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.9668, allocations: 1.659 MB / 1.398 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.9668, allocations: 144 / 1.398 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.9687, allocations: 1.028 MB / 1.399 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003586/0.9691, allocations: 277.3 kB / 1.399 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.9692, allocations: 25.56 kB / 1.399 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000656/0.9699, allocations: 71.2 kB / 1.399 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.97, allocations: 67.28 kB / 1.399 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.247e-05/0.9701, allocations: 37.28 kB / 1.399 GB, free: 14.13 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005347/0.9706, allocations: 471.2 kB / 1.4 GB, free: 13.86 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9706, allocations: 0 / 1.4 GB, free: 13.86 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008297/0.9714, allocations: 343.6 kB / 1.4 GB, free: 13.76 MB / 1.076 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.003872/0.9753, allocations: 2.062 MB / 1.402 GB, free: 12.47 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001568/0.9769, allocations: 0.8045 MB / 1.403 GB, free: 12.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9769, allocations: 2.094 kB / 1.403 GB, free: 12.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008776/0.9777, allocations: 0.4985 MB / 1.403 GB, free: 11.75 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.9789, allocations: 311.9 kB / 1.404 GB, free: 11.59 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009588/0.9885, allocations: 6.449 MB / 1.41 GB, free: 7.602 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.9891, allocations: 1.047 MB / 1.411 GB, free: 6.746 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007329/0.9898, allocations: 277.8 kB / 1.411 GB, free: 6.602 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000545/0.9904, allocations: 402.4 kB / 1.412 GB, free: 6.281 MB / 1.076 GB Notification: Performance of SimCode: time 6.61e-07/0.9904, allocations: 0 / 1.412 GB, free: 6.281 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05653/1.047, allocations: 22.42 MB / 1.434 GB, free: 344 kB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.78, allocations: 3.281 kB / 1.434 GB, free: 344 kB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 18.196657861997664]