Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006483/0.006483, allocations: 101.2 kB / 15.73 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 197.9 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 390.3 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 62.84 kB / 0.9504 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2449, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005691/0.2506, allocations: 4.376 MB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1437/0.3944, allocations: 150.6 MB / 1.239 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007899/0.3952, allocations: 19.88 kB / 1.239 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007449/0.396, allocations: 174.4 kB / 1.239 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.3983, allocations: 0.5121 MB / 1.239 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.4006, allocations: 0.8362 MB / 1.24 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.4022, allocations: 1.324 MB / 1.242 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.4032, allocations: 0.6873 MB / 1.242 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007178/0.404, allocations: 0.5022 MB / 1.243 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007011/0.4047, allocations: 0.5172 MB / 1.243 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.4049, allocations: 128 kB / 1.243 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000842/0.4057, allocations: 495.6 kB / 1.244 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.406, allocations: 319 kB / 1.244 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004428/0.4064, allocations: 0.5829 MB / 1.245 GB, free: 360 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.408, allocations: 1.695 MB / 1.246 GB, free: 14.65 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.408, allocations: 8 kB / 1.246 GB, free: 14.64 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/0.408, allocations: 0 / 1.246 GB, free: 14.64 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.4081, allocations: 0 / 1.246 GB, free: 14.64 MB / 1.014 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.00221/0.4103, allocations: 1.477 MB / 1.248 GB, free: 13.12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.4103, allocations: 12.03 kB / 1.248 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.4105, allocations: 144.1 kB / 1.248 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.4115, allocations: 215.3 kB / 1.248 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.4125, allocations: 0.7848 MB / 1.249 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.489e-05/0.4126, allocations: 77.98 kB / 1.249 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.4127, allocations: 88 kB / 1.249 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.4142, allocations: 1.007 MB / 1.25 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.4142, allocations: 0 / 1.25 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-05/0.4143, allocations: 44 kB / 1.25 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.4143, allocations: 24 kB / 1.25 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.4161, allocations: 1.175 MB / 1.251 GB, free: 9.465 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003505/0.4196, allocations: 2.589 MB / 1.254 GB, free: 6.812 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/0.4217, allocations: 0.9686 MB / 1.255 GB, free: 5.828 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00052/0.4223, allocations: 310.7 kB / 1.255 GB, free: 5.52 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.66e-05/0.4224, allocations: 36.59 kB / 1.255 GB, free: 5.484 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008029/0.4232, allocations: 0.5068 MB / 1.256 GB, free: 4.957 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.074e-06/0.4232, allocations: 0 / 1.256 GB, free: 4.957 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.002934/0.4261, allocations: 1.217 MB / 1.257 GB, free: 3.715 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.233e-05/0.4262, allocations: 200.5 kB / 1.257 GB, free: 3.477 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007378/0.427, allocations: 0.641 MB / 1.258 GB, free: 2.828 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.608e-05/0.427, allocations: 41.7 kB / 1.258 GB, free: 2.781 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.4274, allocations: 424.2 kB / 1.258 GB, free: 2.359 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.4275, allocations: 256.2 kB / 1.258 GB, free: 2.105 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.4277, allocations: 150.6 kB / 1.258 GB, free: 1.949 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4279, allocations: 386.8 kB / 1.259 GB, free: 1.562 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/0.4284, allocations: 249.9 kB / 1.259 GB, free: 1.32 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/0.429, allocations: 374.5 kB / 1.259 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.43, allocations: 0.5955 MB / 1.26 GB, free: 324 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.43, allocations: 0 / 1.26 GB, free: 324 kB / 1.014 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.4973/0.9273, allocations: 0.8162 MB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.9274, allocations: 5.75 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.9274, allocations: 1 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006073/0.928, allocations: 89.03 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/0.9287, allocations: 153.6 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.9304, allocations: 1.632 MB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00071/0.9312, allocations: 89.27 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.548e-05/0.9312, allocations: 32.33 kB / 1.263 GB, free: 172.1 MB / 1.014 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.0004583/0.9317, allocations: 272.7 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.9319, allocations: 85.02 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/0.9345, allocations: 1.094 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.9345, allocations: 10.31 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.9345, allocations: 3.031 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.9345, allocations: 9.312 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003429/0.938, allocations: 2.019 MB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.938, allocations: 3.156 kB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/0.9386, allocations: 153.5 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004536/0.9391, allocations: 74.69 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.584e-05/0.9391, allocations: 26.23 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.9407, allocations: 1.666 MB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9407, allocations: 2.75 kB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.9427, allocations: 1.027 MB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.943, allocations: 273.8 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.9431, allocations: 22 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006362/0.9438, allocations: 66.91 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.944, allocations: 69.02 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.808e-05/0.944, allocations: 40.88 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000603/0.9447, allocations: 467.9 kB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9447, allocations: 0 / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008991/0.9456, allocations: 316.4 kB / 1.27 GB, free: 168.7 MB / 1.014 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.003379/0.949, allocations: 2.078 MB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.9508, allocations: 0.8234 MB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.9508, allocations: 0.5312 kB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.9518, allocations: 0.5317 MB / 1.274 GB, free: 167 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.9531, allocations: 289.6 kB / 1.274 GB, free: 166.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.9637, allocations: 6.516 MB / 1.28 GB, free: 163.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.9642, allocations: 1.045 MB / 1.281 GB, free: 163 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008349/0.9651, allocations: 268.6 kB / 1.281 GB, free: 162.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004994/0.9656, allocations: 404.8 kB / 1.282 GB, free: 162.6 MB / 1.014 GB Notification: Performance of SimCode: time 6.71e-07/0.9656, allocations: 0 / 1.282 GB, free: 162.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05047/1.016, allocations: 21.83 MB / 1.303 GB, free: 155.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/13.02, allocations: 13.78 kB / 1.303 GB, free: 155.4 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches