Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001759/0.001759, allocations: 113 kB / 18.94 MB, free: 2.934 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.001684/0.001684, allocations: 209 kB / 22.25 MB, free: 5.086 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.408/3.408, allocations: 0.49 GB / 0.7951 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_12_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.002085/0.002085, allocations: 61.38 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3925, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007195/0.3997, allocations: 5.227 MB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1809/0.5806, allocations: 154.2 MB / 1.482 GB, free: 1.977 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.5818, allocations: 23.81 kB / 1.482 GB, free: 1.953 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007325/0.5825, allocations: 210.1 kB / 1.482 GB, free: 1.746 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.5845, allocations: 0.5825 MB / 1.482 GB, free: 1.164 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.5866, allocations: 0.8934 MB / 1.483 GB, free: 284 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00192/0.5885, allocations: 1.467 MB / 1.485 GB, free: 14.8 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008551/0.5894, allocations: 472.6 kB / 1.485 GB, free: 14.32 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008851/0.5903, allocations: 0.5411 MB / 1.486 GB, free: 13.77 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007637/0.591, allocations: 0.5601 MB / 1.486 GB, free: 13.21 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.5912, allocations: 128 kB / 1.486 GB, free: 13.09 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.5923, allocations: 0.5269 MB / 1.487 GB, free: 12.56 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003452/0.5927, allocations: 327 kB / 1.487 GB, free: 12.24 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006391/0.5933, allocations: 0.6064 MB / 1.488 GB, free: 11.63 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002613/0.5959, allocations: 1.794 MB / 1.489 GB, free: 9.828 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5959, allocations: 0 / 1.489 GB, free: 9.828 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5959, allocations: 0 / 1.489 GB, free: 9.828 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.189e-05/0.596, allocations: 0 / 1.489 GB, free: 9.828 MB / 1.186 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.002879/0.5988, allocations: 1.49 MB / 1.491 GB, free: 8.301 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.5989, allocations: 12.03 kB / 1.491 GB, free: 8.289 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000179/0.5991, allocations: 152.1 kB / 1.491 GB, free: 8.133 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.6009, allocations: 275.9 kB / 1.491 GB, free: 7.863 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.6023, allocations: 0.7375 MB / 1.492 GB, free: 7.102 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-05/0.6024, allocations: 70 kB / 1.492 GB, free: 7.031 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.6025, allocations: 88 kB / 1.492 GB, free: 6.945 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.6043, allocations: 1.011 MB / 1.493 GB, free: 5.898 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.6043, allocations: 0 / 1.493 GB, free: 5.898 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.01e-05/0.6044, allocations: 40 kB / 1.493 GB, free: 5.859 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.6044, allocations: 24 kB / 1.493 GB, free: 5.836 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.6064, allocations: 1.179 MB / 1.494 GB, free: 4.652 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004851/0.6113, allocations: 2.922 MB / 1.497 GB, free: 1.582 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.6136, allocations: 0.8468 MB / 1.498 GB, free: 0.7266 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005686/0.6142, allocations: 290.7 kB / 1.498 GB, free: 448 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.832e-05/0.6143, allocations: 32.61 kB / 1.498 GB, free: 416 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009809/0.6153, allocations: 0.503 MB / 1.499 GB, free: 15.89 MB / 1.201 GB Notification: Performance of pre-optimization done (n=82): time 2.906e-06/0.6153, allocations: 0 / 1.499 GB, free: 15.89 MB / 1.201 GB Notification: Performance of matching and sorting (n=82): time 0.003392/0.6187, allocations: 1.159 MB / 1.5 GB, free: 14.72 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.6188, allocations: 196.6 kB / 1.5 GB, free: 14.48 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009437/0.6197, allocations: 0.6607 MB / 1.501 GB, free: 13.82 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.293e-05/0.6198, allocations: 45.69 kB / 1.501 GB, free: 13.77 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/0.6202, allocations: 437 kB / 1.501 GB, free: 13.33 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.6205, allocations: 285.6 kB / 1.502 GB, free: 13.05 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.6207, allocations: 146.6 kB / 1.502 GB, free: 12.9 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.6209, allocations: 390.8 kB / 1.502 GB, free: 12.51 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005459/0.6215, allocations: 253.9 kB / 1.502 GB, free: 12.26 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/0.6221, allocations: 370.5 kB / 1.503 GB, free: 11.88 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.6233, allocations: 0.6033 MB / 1.503 GB, free: 11.27 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6233, allocations: 0 / 1.503 GB, free: 11.27 MB / 1.201 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002091/0.6254, allocations: 0.8296 MB / 1.504 GB, free: 10.42 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.6254, allocations: 10.34 kB / 1.504 GB, free: 10.41 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.6254, allocations: 3.984 kB / 1.504 GB, free: 10.41 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007113/0.6261, allocations: 80.88 kB / 1.504 GB, free: 10.33 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/0.6269, allocations: 155.8 kB / 1.504 GB, free: 10.18 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.6295, allocations: 1.531 MB / 1.506 GB, free: 8.527 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008186/0.6303, allocations: 103.5 kB / 1.506 GB, free: 8.426 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/0.6304, allocations: 31.98 kB / 1.506 GB, free: 8.395 MB / 1.201 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.0005741/0.631, allocations: 265.7 kB / 1.506 GB, free: 8.125 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.6312, allocations: 87.44 kB / 1.506 GB, free: 8.039 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.6338, allocations: 1.109 MB / 1.507 GB, free: 6.914 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.6338, allocations: 12 kB / 1.507 GB, free: 6.902 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.6338, allocations: 0 / 1.507 GB, free: 6.902 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.6338, allocations: 3.984 kB / 1.507 GB, free: 6.898 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003796/0.6376, allocations: 1.993 MB / 1.509 GB, free: 4.852 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6376, allocations: 0 / 1.509 GB, free: 4.852 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/0.6382, allocations: 147.8 kB / 1.509 GB, free: 4.707 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004455/0.6387, allocations: 72.78 kB / 1.51 GB, free: 4.633 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/0.6387, allocations: 23.98 kB / 1.51 GB, free: 4.609 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.6406, allocations: 1.562 MB / 1.511 GB, free: 2.926 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.6407, allocations: 4 kB / 1.511 GB, free: 2.922 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.6428, allocations: 1.03 MB / 1.512 GB, free: 1.871 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005053/0.6433, allocations: 211.1 kB / 1.512 GB, free: 1.664 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.6435, allocations: 20 kB / 1.512 GB, free: 1.645 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006638/0.6441, allocations: 63.92 kB / 1.512 GB, free: 1.582 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.6443, allocations: 76.86 kB / 1.512 GB, free: 1.508 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/0.6444, allocations: 39.91 kB / 1.512 GB, free: 1.469 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006623/0.645, allocations: 483 kB / 1.513 GB, free: 1.004 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.645, allocations: 4 kB / 1.513 GB, free: 1 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009691/0.646, allocations: 347 kB / 1.513 GB, free: 0.6602 MB / 1.201 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.00445/0.6504, allocations: 2.085 MB / 1.515 GB, free: 14.73 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001921/0.6524, allocations: 0.7999 MB / 1.516 GB, free: 13.92 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6524, allocations: 0 / 1.516 GB, free: 13.92 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.6534, allocations: 0.4965 MB / 1.517 GB, free: 13.41 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.6548, allocations: 297.2 kB / 1.517 GB, free: 13.14 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/0.6668, allocations: 6.526 MB / 1.523 GB, free: 6.457 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007423/0.6675, allocations: 1.043 MB / 1.524 GB, free: 5.383 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009419/0.6685, allocations: 267.1 kB / 1.525 GB, free: 5.117 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006363/0.6691, allocations: 415.2 kB / 1.525 GB, free: 4.711 MB / 1.217 GB Notification: Performance of SimCode: time 8.52e-07/0.6691, allocations: 0 / 1.525 GB, free: 4.711 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07379/0.7429, allocations: 23.24 MB / 1.548 GB, free: 13.72 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/14.98, allocations: 1.875 kB / 1.548 GB, free: 13.72 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 22.337306309957057]