Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_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.001208/0.001208, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 194.7 kB / 16.53 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.175/1.175, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.411/2.411, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001187, allocations: 62.03 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.228, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006005/0.234, allocations: 5.123 MB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1338/0.3678, allocations: 150.7 MB / 1.216 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006923/0.3685, allocations: 15.94 kB / 1.216 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005963/0.3691, allocations: 202.1 kB / 1.216 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.3708, allocations: 0.5591 MB / 1.217 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.3726, allocations: 0.8445 MB / 1.217 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00137/0.3739, allocations: 1.432 MB / 1.219 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008325/0.3748, allocations: 0.6529 MB / 1.219 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000602/0.3754, allocations: 0.51 MB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000587/0.376, allocations: 0.5445 MB / 1.22 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.3762, allocations: 128 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007545/0.3769, allocations: 463.7 kB / 1.221 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.3772, allocations: 319 kB / 1.221 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000509/0.3777, allocations: 0.6103 MB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.3793, allocations: 1.69 MB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3793, allocations: 7.984 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3793, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.365e-05/0.3793, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 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.002417/0.3818, allocations: 1.492 MB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.3818, allocations: 8.031 kB / 1.225 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/0.382, allocations: 152.1 kB / 1.225 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.383, allocations: 215.3 kB / 1.225 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009279/0.3839, allocations: 0.7692 MB / 1.226 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.384, allocations: 66 kB / 1.226 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.3841, allocations: 99.98 kB / 1.226 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.3856, allocations: 1.007 MB / 1.227 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.3857, allocations: 4 kB / 1.227 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-05/0.3857, allocations: 40 kB / 1.227 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.3858, allocations: 20 kB / 1.227 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.3875, allocations: 1.175 MB / 1.228 GB, free: 4.969 MB / 0.9825 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.003748/0.3913, allocations: 2.89 MB / 1.231 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.3935, allocations: 0.9789 MB / 1.232 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.3941, allocations: 314.7 kB / 1.233 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.205e-05/0.3941, allocations: 32.61 kB / 1.233 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008273/0.395, allocations: 0.4953 MB / 1.233 GB, free: 96 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 1.884e-06/0.395, allocations: 0 / 1.233 GB, free: 96 kB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003004/0.398, allocations: 1.237 MB / 1.234 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/0.3981, allocations: 192.6 kB / 1.234 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000669/0.3988, allocations: 0.6333 MB / 1.235 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/0.3988, allocations: 45.7 kB / 1.235 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.3991, allocations: 424.2 kB / 1.236 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.3993, allocations: 264.1 kB / 1.236 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.3995, allocations: 154.5 kB / 1.236 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3997, allocations: 382.8 kB / 1.236 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005043/0.4002, allocations: 261.8 kB / 1.237 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/0.4008, allocations: 370.5 kB / 1.237 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.4018, allocations: 0.5994 MB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4019, allocations: 64 / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001785/0.4037, allocations: 0.8292 MB / 1.238 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.4037, allocations: 8 kB / 1.238 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4037, allocations: 0 / 1.238 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005418/0.4042, allocations: 84.81 kB / 1.238 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006199/0.4049, allocations: 155.8 kB / 1.239 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.4067, allocations: 1.625 MB / 1.24 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006086/0.4073, allocations: 109 kB / 1.24 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.618e-05/0.4074, allocations: 35.97 kB / 1.24 GB, free: 8.434 MB / 0.9981 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.000317/0.4077, allocations: 269.9 kB / 1.241 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.4079, allocations: 79.06 kB / 1.241 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.4102, allocations: 1.101 MB / 1.242 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.4102, allocations: 12 kB / 1.242 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.4102, allocations: 0 / 1.242 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.4102, allocations: 3.984 kB / 1.242 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.4132, allocations: 2.008 MB / 1.244 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4132, allocations: 4 kB / 1.244 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.4138, allocations: 159.7 kB / 1.244 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004113/0.4142, allocations: 68.8 kB / 1.244 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.4142, allocations: 27.97 kB / 1.244 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.4159, allocations: 1.658 MB / 1.246 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4159, allocations: 3.984 kB / 1.246 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.4178, allocations: 1.019 MB / 1.247 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.4181, allocations: 275.7 kB / 1.247 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.4182, allocations: 23.94 kB / 1.247 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006442/0.4189, allocations: 63.92 kB / 1.247 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.419, allocations: 68.91 kB / 1.247 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/0.4191, allocations: 43.91 kB / 1.247 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004929/0.4196, allocations: 471 kB / 1.247 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4196, allocations: 0 / 1.247 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006773/0.4203, allocations: 335.1 kB / 1.248 GB, free: 0.5078 MB / 0.9981 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.3606/0.7809, allocations: 2.069 MB / 1.25 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0023/0.7833, allocations: 1.027 MB / 1.251 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7833, allocations: 0 / 1.251 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008574/0.7841, allocations: 0.5335 MB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.7853, allocations: 303.8 kB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008159/0.7935, allocations: 6.669 MB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.7938, allocations: 1.043 MB / 1.259 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006985/0.7945, allocations: 278 kB / 1.259 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004057/0.7949, allocations: 401.1 kB / 1.26 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.7949, allocations: 0 / 1.26 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/0.8382, allocations: 22.03 MB / 1.281 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.93, allocations: 9.844 kB / 1.281 GB, free: 176.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=864000.000000 File[6]=1728.000000 " Variables in the reference:time,relAirMas.relAirMas Variables in the result:time,relAirMas.relAirMas,weaBus.HDifHor,weaBus.HDirNor,weaBus.HGloHor,weaBus.HHorIR