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.001829/0.001829, allocations: 109.2 kB / 16.45 MB, free: 6.035 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.002106/0.002106, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.372/1.372, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.654/2.654, allocations: 476.7 MB / 0.7611 GB, free: 11.3 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.89 kB / 1.104 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7641/0.766, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007286/0.7733, allocations: 5.152 MB / 1.274 GB, free: 4 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1794/0.9527, allocations: 151.1 MB / 1.421 GB, free: 8.297 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009175/0.9536, allocations: 15.94 kB / 1.421 GB, free: 8.281 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006273/0.9542, allocations: 210.1 kB / 1.422 GB, free: 8.074 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.956, allocations: 0.5701 MB / 1.422 GB, free: 7.504 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.9581, allocations: 0.8396 MB / 1.423 GB, free: 6.672 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001705/0.9598, allocations: 1.452 MB / 1.424 GB, free: 5.215 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008505/0.9606, allocations: 468.5 kB / 1.425 GB, free: 4.73 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007616/0.9614, allocations: 0.5178 MB / 1.425 GB, free: 4.211 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007071/0.9621, allocations: 0.5484 MB / 1.426 GB, free: 3.66 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.9623, allocations: 124 kB / 1.426 GB, free: 3.539 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.9633, allocations: 0.4917 MB / 1.426 GB, free: 3.047 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003371/0.9636, allocations: 319 kB / 1.427 GB, free: 2.734 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000592/0.9642, allocations: 0.5986 MB / 1.427 GB, free: 2.133 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00215/0.9664, allocations: 1.747 MB / 1.429 GB, free: 388 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9664, allocations: 0 / 1.429 GB, free: 388 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9664, allocations: 0 / 1.429 GB, free: 388 kB / 1.123 GB Notification: Performance of Transformations before backend: time 1.947e-05/0.9664, allocations: 4 kB / 1.429 GB, free: 384 kB / 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.002782/0.9692, allocations: 1.541 MB / 1.431 GB, free: 14.77 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.9692, allocations: 8.031 kB / 1.431 GB, free: 14.76 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000194/0.9694, allocations: 160.1 kB / 1.431 GB, free: 14.6 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.9706, allocations: 216 kB / 1.431 GB, free: 14.39 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.9719, allocations: 0.7893 MB / 1.432 GB, free: 13.55 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.821e-05/0.972, allocations: 77.98 kB / 1.432 GB, free: 13.48 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.9721, allocations: 88 kB / 1.432 GB, free: 13.39 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.9739, allocations: 1.007 MB / 1.433 GB, free: 12.35 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.9739, allocations: 3.938 kB / 1.433 GB, free: 12.34 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/0.974, allocations: 36 kB / 1.433 GB, free: 12.31 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/0.974, allocations: 24 kB / 1.433 GB, free: 12.29 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.9761, allocations: 1.179 MB / 1.434 GB, free: 11.11 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.004968/0.981, allocations: 2.852 MB / 1.437 GB, free: 8.133 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/0.9835, allocations: 0.9243 MB / 1.438 GB, free: 7.188 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006084/0.9841, allocations: 294.6 kB / 1.438 GB, free: 6.898 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.179e-05/0.9842, allocations: 32.59 kB / 1.438 GB, free: 6.867 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009748/0.9852, allocations: 0.5033 MB / 1.438 GB, free: 6.344 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 2.595e-06/0.9852, allocations: 4 kB / 1.439 GB, free: 6.34 MB / 1.139 GB Notification: Performance of matching and sorting (n=82): time 0.003495/0.9887, allocations: 1.225 MB / 1.44 GB, free: 5.086 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.9888, allocations: 196.6 kB / 1.44 GB, free: 4.852 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008781/0.9897, allocations: 0.641 MB / 1.441 GB, free: 4.203 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.166e-05/0.9898, allocations: 41.7 kB / 1.441 GB, free: 4.156 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.9902, allocations: 429 kB / 1.441 GB, free: 3.73 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.9904, allocations: 285.6 kB / 1.441 GB, free: 3.449 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.9907, allocations: 150.6 kB / 1.441 GB, free: 3.297 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002131/0.9909, allocations: 390.8 kB / 1.442 GB, free: 2.906 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005497/0.9914, allocations: 253.9 kB / 1.442 GB, free: 2.656 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007071/0.9921, allocations: 366.5 kB / 1.442 GB, free: 2.273 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.9933, allocations: 0.6033 MB / 1.443 GB, free: 1.66 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.9933, allocations: 0 / 1.443 GB, free: 1.66 MB / 1.139 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002034/0.9954, allocations: 0.8296 MB / 1.444 GB, free: 0.8203 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.9954, allocations: 7.938 kB / 1.444 GB, free: 0.8125 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.9954, allocations: 0 / 1.444 GB, free: 0.8125 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006346/0.996, allocations: 84.86 kB / 1.444 GB, free: 0.7266 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000673/0.9967, allocations: 151.8 kB / 1.444 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.999, allocations: 1.642 MB / 1.446 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006902/0.9997, allocations: 99.47 kB / 1.446 GB, free: 14.69 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.9998, allocations: 35.97 kB / 1.446 GB, free: 14.66 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.0004941/1, allocations: 265.9 kB / 1.446 GB, free: 14.39 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/1, allocations: 87.44 kB / 1.446 GB, free: 14.3 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/1.003, allocations: 1.101 MB / 1.447 GB, free: 13.18 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/1.003, allocations: 8 kB / 1.447 GB, free: 13.17 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.003, allocations: 4 kB / 1.447 GB, free: 13.17 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/1.003, allocations: 7.969 kB / 1.447 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/1.007, allocations: 2.005 MB / 1.449 GB, free: 11.09 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/1.007, allocations: 3.984 kB / 1.449 GB, free: 11.09 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006067/1.007, allocations: 147.8 kB / 1.449 GB, free: 10.95 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004585/1.008, allocations: 72.78 kB / 1.449 GB, free: 10.87 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/1.008, allocations: 23.98 kB / 1.449 GB, free: 10.85 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/1.01, allocations: 1.674 MB / 1.451 GB, free: 9.031 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/1.01, allocations: 0 / 1.451 GB, free: 9.031 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/1.012, allocations: 1.026 MB / 1.452 GB, free: 7.988 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004981/1.013, allocations: 280.2 kB / 1.452 GB, free: 7.695 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/1.013, allocations: 24 kB / 1.452 GB, free: 7.672 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006731/1.014, allocations: 63.92 kB / 1.452 GB, free: 7.609 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/1.014, allocations: 64.91 kB / 1.452 GB, free: 7.547 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.929e-05/1.014, allocations: 43.91 kB / 1.452 GB, free: 7.504 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006652/1.014, allocations: 471 kB / 1.453 GB, free: 7.047 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.014, allocations: 0 / 1.453 GB, free: 7.047 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009432/1.015, allocations: 339.1 kB / 1.453 GB, free: 6.715 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.004333/1.02, allocations: 2.082 MB / 1.455 GB, free: 4.793 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001826/1.022, allocations: 0.7923 MB / 1.456 GB, free: 3.992 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.022, allocations: 4 kB / 1.456 GB, free: 3.988 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009999/1.023, allocations: 0.4924 MB / 1.456 GB, free: 3.48 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/1.024, allocations: 320.1 kB / 1.457 GB, free: 3.199 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/1.035, allocations: 6.453 MB / 1.463 GB, free: 12.59 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007794/1.036, allocations: 1.043 MB / 1.464 GB, free: 11.52 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008846/1.037, allocations: 270.8 kB / 1.464 GB, free: 11.25 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006006/1.037, allocations: 407.3 kB / 1.465 GB, free: 10.85 MB / 1.17 GB Notification: Performance of SimCode: time 8.31e-07/1.037, allocations: 0 / 1.465 GB, free: 10.85 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06294/1.1, allocations: 22.39 MB / 1.487 GB, free: 4.793 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.41, allocations: 14.28 kB / 1.487 GB, free: 4.785 MB / 1.186 GB " [Timeout remaining time 285] (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_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: 20.462692615110427]