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.007922/0.007922, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.00189/0.00189, allocations: 188.1 kB / 16.67 MB, free: 5.949 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 68.12 kB / 1.054 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2725, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005813/0.2784, allocations: 5.116 MB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7196/0.998, allocations: 150.7 MB / 1.359 GB, free: 9.203 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007733/0.9988, allocations: 15.81 kB / 1.359 GB, free: 9.199 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006149/0.9994, allocations: 201.2 kB / 1.36 GB, free: 9.07 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001778/1.001, allocations: 0.5612 MB / 1.36 GB, free: 8.746 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001901/1.003, allocations: 0.8499 MB / 1.361 GB, free: 8.309 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001533/1.005, allocations: 1.437 MB / 1.362 GB, free: 7.566 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009106/1.006, allocations: 0.657 MB / 1.363 GB, free: 7.227 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007617/1.006, allocations: 0.5109 MB / 1.364 GB, free: 6.973 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006138/1.007, allocations: 0.5402 MB / 1.364 GB, free: 6.688 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/1.007, allocations: 125.7 kB / 1.364 GB, free: 6.688 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009624/1.008, allocations: 0.4913 MB / 1.365 GB, free: 6.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002706/1.009, allocations: 314.6 kB / 1.365 GB, free: 6.371 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005407/1.009, allocations: 0.6067 MB / 1.366 GB, free: 5.969 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001886/1.011, allocations: 1.738 MB / 1.367 GB, free: 5.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/1.011, allocations: 0.5625 kB / 1.367 GB, free: 5.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/1.011, allocations: 0 / 1.367 GB, free: 5.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.523e-05/1.011, allocations: 1.406 kB / 1.367 GB, free: 5.23 MB / 1.061 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.002833/1.014, allocations: 1.504 MB / 1.369 GB, free: 4.219 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.014, allocations: 14.06 kB / 1.369 GB, free: 4.215 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002055/1.014, allocations: 152.2 kB / 1.369 GB, free: 4.113 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/1.015, allocations: 210.9 kB / 1.369 GB, free: 4.051 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/1.017, allocations: 0.7814 MB / 1.37 GB, free: 3.547 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-05/1.017, allocations: 74.75 kB / 1.37 GB, free: 3.512 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/1.017, allocations: 89.34 kB / 1.37 GB, free: 3.484 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/1.019, allocations: 1.011 MB / 1.371 GB, free: 3.035 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/1.019, allocations: 0 / 1.371 GB, free: 3.035 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.431e-05/1.019, allocations: 41.66 kB / 1.371 GB, free: 3.004 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/1.019, allocations: 24.19 kB / 1.371 GB, free: 3.004 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/1.021, allocations: 1.173 MB / 1.372 GB, free: 2.586 MB / 1.061 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.004423/1.025, allocations: 2.865 MB / 1.375 GB, free: 312 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/1.027, allocations: 0.9727 MB / 1.376 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005707/1.028, allocations: 308 kB / 1.376 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.144e-05/1.028, allocations: 34.89 kB / 1.376 GB, free: 15.6 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009051/1.029, allocations: 0.4977 MB / 1.377 GB, free: 15.27 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.966e-06/1.029, allocations: 0.9375 kB / 1.377 GB, free: 15.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=82): time 0.003235/1.032, allocations: 1.225 MB / 1.378 GB, free: 14.61 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.933e-05/1.032, allocations: 200.5 kB / 1.378 GB, free: 14.38 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00087/1.033, allocations: 0.6358 MB / 1.379 GB, free: 14.01 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/1.033, allocations: 42.58 kB / 1.379 GB, free: 13.97 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/1.034, allocations: 433.2 kB / 1.379 GB, free: 13.59 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/1.034, allocations: 261.8 kB / 1.379 GB, free: 13.36 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/1.034, allocations: 148.4 kB / 1.38 GB, free: 13.27 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.034, allocations: 385.6 kB / 1.38 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005565/1.035, allocations: 257.3 kB / 1.38 GB, free: 12.78 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006487/1.035, allocations: 372.5 kB / 1.381 GB, free: 12.54 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/1.037, allocations: 0.6032 MB / 1.381 GB, free: 12.22 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.037, allocations: 0 / 1.381 GB, free: 12.22 MB / 1.076 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002145/1.039, allocations: 0.8212 MB / 1.382 GB, free: 11.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/1.039, allocations: 10.97 kB / 1.382 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.039, allocations: 1.125 kB / 1.382 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006095/1.039, allocations: 88.73 kB / 1.382 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/1.04, allocations: 151.7 kB / 1.382 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/1.042, allocations: 1.632 MB / 1.384 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008585/1.043, allocations: 96.08 kB / 1.384 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.253e-05/1.043, allocations: 35.72 kB / 1.384 GB, free: 10.04 MB / 1.076 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.0005432/1.044, allocations: 272.6 kB / 1.384 GB, free: 9.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002643/1.044, allocations: 87.69 kB / 1.384 GB, free: 9.773 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/1.046, allocations: 1.096 MB / 1.385 GB, free: 9.156 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/1.046, allocations: 11.69 kB / 1.385 GB, free: 9.156 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.046, allocations: 0 / 1.385 GB, free: 9.156 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/1.046, allocations: 9.125 kB / 1.385 GB, free: 9.148 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003631/1.05, allocations: 2.011 MB / 1.387 GB, free: 7.816 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/1.05, allocations: 0 / 1.387 GB, free: 7.816 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006273/1.051, allocations: 151.3 kB / 1.387 GB, free: 7.781 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004425/1.051, allocations: 73.78 kB / 1.388 GB, free: 7.742 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/1.051, allocations: 24.58 kB / 1.388 GB, free: 7.727 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/1.053, allocations: 1.658 MB / 1.389 GB, free: 6.109 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.053, allocations: 0 / 1.389 GB, free: 6.109 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/1.056, allocations: 1.019 MB / 1.39 GB, free: 5.535 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005445/1.056, allocations: 282.1 kB / 1.39 GB, free: 5.289 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/1.056, allocations: 24.75 kB / 1.39 GB, free: 5.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007413/1.057, allocations: 69.77 kB / 1.391 GB, free: 5.234 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/1.057, allocations: 70.86 kB / 1.391 GB, free: 5.199 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-05/1.057, allocations: 36.27 kB / 1.391 GB, free: 5.188 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006136/1.058, allocations: 466.1 kB / 1.391 GB, free: 4.926 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.41e-07/1.058, allocations: 0 / 1.391 GB, free: 4.926 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001011/1.059, allocations: 338.5 kB / 1.391 GB, free: 4.824 MB / 1.076 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.003645/1.063, allocations: 2.073 MB / 1.393 GB, free: 3.531 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001808/1.064, allocations: 0.8194 MB / 1.394 GB, free: 3.098 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.064, allocations: 1.156 kB / 1.394 GB, free: 3.098 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009497/1.065, allocations: 0.5388 MB / 1.395 GB, free: 2.789 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/1.067, allocations: 306.5 kB / 1.395 GB, free: 2.629 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/1.077, allocations: 6.413 MB / 1.401 GB, free: 14.69 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/1.078, allocations: 1.043 MB / 1.402 GB, free: 13.83 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001042/1.079, allocations: 272.4 kB / 1.403 GB, free: 13.7 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006453/1.08, allocations: 400.3 kB / 1.403 GB, free: 13.38 MB / 1.092 GB Notification: Performance of SimCode: time 7.71e-07/1.08, allocations: 0 / 1.403 GB, free: 13.38 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05025/1.13, allocations: 22.71 MB / 1.425 GB, free: 7.574 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.63, allocations: 15.75 kB / 1.425 GB, free: 7.566 MB / 1.107 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 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.mat","/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) Reference file matches