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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003915/0.003915, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.0009902/0.0009902, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.471/2.471, allocations: 437.1 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2365, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005874/0.2425, allocations: 5.136 MB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6317/0.8742, allocations: 150.7 MB / 1.318 GB, free: 10.07 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007076/0.8749, allocations: 15.16 kB / 1.318 GB, free: 10.06 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006256/0.8755, allocations: 201.7 kB / 1.319 GB, free: 9.953 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.8774, allocations: 0.5666 MB / 1.319 GB, free: 9.699 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.8792, allocations: 0.852 MB / 1.32 GB, free: 9.539 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001195/0.8804, allocations: 1.443 MB / 1.321 GB, free: 9.258 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008042/0.8813, allocations: 0.6543 MB / 1.322 GB, free: 9.086 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005102/0.8818, allocations: 0.5168 MB / 1.322 GB, free: 8.977 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005312/0.8823, allocations: 0.5424 MB / 1.323 GB, free: 8.84 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.8825, allocations: 127.1 kB / 1.323 GB, free: 8.84 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007767/0.8833, allocations: 495.7 kB / 1.324 GB, free: 8.809 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002622/0.8835, allocations: 316.9 kB / 1.324 GB, free: 8.738 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005091/0.8841, allocations: 0.6054 MB / 1.324 GB, free: 8.336 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.8859, allocations: 1.747 MB / 1.326 GB, free: 7.594 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8859, allocations: 1.594 kB / 1.326 GB, free: 7.594 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8859, allocations: 0.8438 kB / 1.326 GB, free: 7.594 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.8859, allocations: 0 / 1.326 GB, free: 7.594 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.002425/0.8883, allocations: 1.537 MB / 1.328 GB, free: 6.551 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.8884, allocations: 9.156 kB / 1.328 GB, free: 6.551 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001747/0.8886, allocations: 149.2 kB / 1.328 GB, free: 6.453 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.8896, allocations: 222.2 kB / 1.328 GB, free: 6.379 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.8908, allocations: 0.7948 MB / 1.329 GB, free: 5.859 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.8908, allocations: 68.61 kB / 1.329 GB, free: 5.832 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.8909, allocations: 93.45 kB / 1.329 GB, free: 5.801 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.8926, allocations: 1.01 MB / 1.33 GB, free: 5.352 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.8926, allocations: 0 / 1.33 GB, free: 5.352 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.799e-05/0.8927, allocations: 37.31 kB / 1.33 GB, free: 5.324 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.8927, allocations: 23.72 kB / 1.33 GB, free: 5.324 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.8946, allocations: 1.176 MB / 1.331 GB, free: 5.051 MB / 1.014 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.003847/0.8985, allocations: 2.857 MB / 1.334 GB, free: 3.344 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002294/0.9008, allocations: 0.9881 MB / 1.335 GB, free: 2.914 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00058/0.9013, allocations: 320.1 kB / 1.335 GB, free: 2.789 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.381e-05/0.9014, allocations: 35.05 kB / 1.335 GB, free: 2.777 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008483/0.9023, allocations: 0.492 MB / 1.336 GB, free: 2.582 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.134e-06/0.9023, allocations: 4 kB / 1.336 GB, free: 2.578 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003119/0.9054, allocations: 1.233 MB / 1.337 GB, free: 2.066 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/0.9055, allocations: 193.1 kB / 1.337 GB, free: 1.844 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007431/0.9063, allocations: 0.6444 MB / 1.338 GB, free: 1.559 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.9063, allocations: 42.77 kB / 1.338 GB, free: 1.516 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.9066, allocations: 429.1 kB / 1.338 GB, free: 1.184 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.9068, allocations: 276.7 kB / 1.338 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.9071, allocations: 158.5 kB / 1.339 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.9072, allocations: 383.8 kB / 1.339 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000526/0.9078, allocations: 256.8 kB / 1.339 GB, free: 472 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006213/0.9084, allocations: 371.1 kB / 1.34 GB, free: 276 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.9095, allocations: 0.601 MB / 1.34 GB, free: 15.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9096, allocations: 0 / 1.34 GB, free: 15.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001883/0.9114, allocations: 0.8214 MB / 1.341 GB, free: 15.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.9115, allocations: 11.81 kB / 1.341 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.9115, allocations: 5.047 kB / 1.341 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005432/0.912, allocations: 85.81 kB / 1.341 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/0.9127, allocations: 158.3 kB / 1.341 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.9146, allocations: 1.62 MB / 1.343 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006579/0.9152, allocations: 100.7 kB / 1.343 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.718e-05/0.9153, allocations: 38.39 kB / 1.343 GB, free: 14.03 MB / 1.029 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.0003502/0.9157, allocations: 270.2 kB / 1.343 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.9158, allocations: 87.97 kB / 1.343 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/0.9182, allocations: 1.107 MB / 1.344 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.9182, allocations: 8.906 kB / 1.344 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.9182, allocations: 1.312 kB / 1.344 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.9183, allocations: 8.484 kB / 1.344 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.9215, allocations: 2.007 MB / 1.346 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.9215, allocations: 0 / 1.346 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005986/0.9221, allocations: 155.4 kB / 1.346 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004051/0.9225, allocations: 75.09 kB / 1.347 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.4e-05/0.9226, allocations: 24.2 kB / 1.347 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.9243, allocations: 1.663 MB / 1.348 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9243, allocations: 0 / 1.348 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/0.9263, allocations: 1.027 MB / 1.349 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.9267, allocations: 283.4 kB / 1.349 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.9268, allocations: 21.34 kB / 1.349 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006686/0.9275, allocations: 64.98 kB / 1.35 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.9277, allocations: 72.16 kB / 1.35 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.192e-05/0.9277, allocations: 33.73 kB / 1.35 GB, free: 10.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005524/0.9283, allocations: 476.4 kB / 1.35 GB, free: 9.836 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9283, allocations: 0 / 1.35 GB, free: 9.836 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008737/0.9292, allocations: 342.3 kB / 1.35 GB, free: 9.738 MB / 1.029 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.003459/0.9327, allocations: 2.068 MB / 1.352 GB, free: 8.574 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001602/0.9343, allocations: 0.8288 MB / 1.353 GB, free: 8.227 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9343, allocations: 4.125 kB / 1.353 GB, free: 8.223 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000917/0.9352, allocations: 0.5328 MB / 1.354 GB, free: 7.973 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.9364, allocations: 309.4 kB / 1.354 GB, free: 7.879 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009603/0.946, allocations: 6.448 MB / 1.36 GB, free: 4.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005304/0.9466, allocations: 1.042 MB / 1.361 GB, free: 3.398 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007707/0.9473, allocations: 271.7 kB / 1.362 GB, free: 3.262 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/0.9479, allocations: 408.6 kB / 1.362 GB, free: 2.934 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.9479, allocations: 0 / 1.362 GB, free: 2.934 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04247/0.9903, allocations: 22.28 MB / 1.384 GB, free: 5.531 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.89, allocations: 13.19 kB / 1.384 GB, free: 5.523 MB / 1.045 GB (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 50 --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) 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) "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