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.005299/0.005299, allocations: 98.69 kB / 15.73 MB, free: 5.551 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.001238/0.001238, allocations: 191.5 kB / 16.67 MB, free: 5.492 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.731/2.731, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.91 kB / 1.054 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2903, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007291/0.2976, allocations: 5.128 MB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7903/1.088, allocations: 150.7 MB / 1.359 GB, free: 9.172 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009025/1.089, allocations: 20 kB / 1.359 GB, free: 9.164 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007541/1.09, allocations: 197.6 kB / 1.36 GB, free: 9.039 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002132/1.092, allocations: 0.5606 MB / 1.36 GB, free: 8.715 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002207/1.094, allocations: 0.8508 MB / 1.361 GB, free: 8.277 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002032/1.096, allocations: 1.447 MB / 1.362 GB, free: 7.527 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/1.097, allocations: 0.6509 MB / 1.363 GB, free: 7.191 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008954/1.098, allocations: 0.515 MB / 1.364 GB, free: 6.934 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009323/1.099, allocations: 0.5482 MB / 1.364 GB, free: 6.641 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003369/1.099, allocations: 126.7 kB / 1.364 GB, free: 6.641 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/1.101, allocations: 491.3 kB / 1.365 GB, free: 6.535 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003913/1.101, allocations: 319.2 kB / 1.365 GB, free: 6.332 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008551/1.102, allocations: 0.6059 MB / 1.366 GB, free: 5.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/1.104, allocations: 1.729 MB / 1.367 GB, free: 5.199 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/1.104, allocations: 1.375 kB / 1.367 GB, free: 5.199 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.884e-06/1.104, allocations: 0 / 1.367 GB, free: 5.199 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.941e-05/1.104, allocations: 0 / 1.367 GB, free: 5.199 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.00369/1.108, allocations: 1.513 MB / 1.369 GB, free: 4.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.108, allocations: 9.438 kB / 1.369 GB, free: 4.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002559/1.108, allocations: 153.8 kB / 1.369 GB, free: 4.078 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/1.11, allocations: 214 kB / 1.369 GB, free: 4.012 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/1.111, allocations: 0.7763 MB / 1.37 GB, free: 3.512 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.14e-05/1.111, allocations: 69.31 kB / 1.37 GB, free: 3.48 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/1.111, allocations: 94 kB / 1.37 GB, free: 3.449 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/1.114, allocations: 1.015 MB / 1.371 GB, free: 3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/1.114, allocations: 3.938 kB / 1.371 GB, free: 2.996 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.952e-05/1.114, allocations: 37.53 kB / 1.371 GB, free: 2.969 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/1.114, allocations: 22.28 kB / 1.371 GB, free: 2.969 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/1.116, allocations: 1.173 MB / 1.372 GB, free: 2.547 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.005358/1.121, allocations: 2.857 MB / 1.375 GB, free: 276 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/1.124, allocations: 0.9684 MB / 1.376 GB, free: 15.73 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006572/1.125, allocations: 319.8 kB / 1.376 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.343e-05/1.125, allocations: 31.42 kB / 1.376 GB, free: 15.56 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009919/1.126, allocations: 0.494 MB / 1.377 GB, free: 15.24 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 3.456e-06/1.126, allocations: 0 / 1.377 GB, free: 15.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=82): time 0.003659/1.13, allocations: 1.233 MB / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/1.13, allocations: 196.7 kB / 1.378 GB, free: 14.34 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/1.131, allocations: 0.6365 MB / 1.379 GB, free: 13.97 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.617e-05/1.131, allocations: 42.89 kB / 1.379 GB, free: 13.93 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/1.131, allocations: 424.4 kB / 1.379 GB, free: 13.56 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/1.132, allocations: 266 kB / 1.379 GB, free: 13.33 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/1.132, allocations: 152.6 kB / 1.38 GB, free: 13.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000218/1.132, allocations: 389.9 kB / 1.38 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000589/1.133, allocations: 253 kB / 1.38 GB, free: 12.74 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006925/1.133, allocations: 369 kB / 1.381 GB, free: 12.51 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/1.135, allocations: 0.6018 MB / 1.381 GB, free: 12.19 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.135, allocations: 3.562 kB / 1.381 GB, free: 12.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002518/1.137, allocations: 0.8216 MB / 1.382 GB, free: 11.76 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/1.137, allocations: 9.5 kB / 1.382 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.137, allocations: 1.188 kB / 1.382 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006369/1.138, allocations: 84.98 kB / 1.382 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/1.139, allocations: 159.5 kB / 1.382 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/1.141, allocations: 1.626 MB / 1.384 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/1.142, allocations: 95.69 kB / 1.384 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.753e-05/1.142, allocations: 40.73 kB / 1.384 GB, free: 9.996 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.0007141/1.143, allocations: 268.5 kB / 1.384 GB, free: 9.785 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003658/1.143, allocations: 82.94 kB / 1.384 GB, free: 9.742 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/1.146, allocations: 1.108 MB / 1.385 GB, free: 9.117 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/1.146, allocations: 17.56 kB / 1.385 GB, free: 9.109 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.146, allocations: 0 / 1.385 GB, free: 9.109 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/1.146, allocations: 3.984 kB / 1.385 GB, free: 9.105 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004049/1.15, allocations: 2 MB / 1.387 GB, free: 7.785 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/1.15, allocations: 1.219 kB / 1.387 GB, free: 7.785 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006444/1.151, allocations: 150.4 kB / 1.387 GB, free: 7.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004855/1.152, allocations: 74.38 kB / 1.388 GB, free: 7.711 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.574e-05/1.152, allocations: 24.02 kB / 1.388 GB, free: 7.695 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/1.154, allocations: 1.662 MB / 1.389 GB, free: 6.074 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.154, allocations: 0 / 1.389 GB, free: 6.074 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/1.156, allocations: 1.022 MB / 1.39 GB, free: 5.496 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006174/1.157, allocations: 277.5 kB / 1.39 GB, free: 5.254 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/1.157, allocations: 29.17 kB / 1.39 GB, free: 5.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007785/1.158, allocations: 65.09 kB / 1.391 GB, free: 5.199 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/1.158, allocations: 76.33 kB / 1.391 GB, free: 5.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.348e-05/1.158, allocations: 30.14 kB / 1.391 GB, free: 5.152 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006529/1.159, allocations: 475.3 kB / 1.391 GB, free: 4.883 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/1.159, allocations: 0 / 1.391 GB, free: 4.883 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001152/1.16, allocations: 337.1 kB / 1.391 GB, free: 4.785 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.003799/1.164, allocations: 2.073 MB / 1.393 GB, free: 3.488 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001864/1.166, allocations: 0.8281 MB / 1.394 GB, free: 3.051 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.166, allocations: 0 / 1.394 GB, free: 3.051 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009889/1.167, allocations: 0.5258 MB / 1.395 GB, free: 2.754 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/1.168, allocations: 301.2 kB / 1.395 GB, free: 2.605 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/1.18, allocations: 6.423 MB / 1.401 GB, free: 14.65 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007025/1.18, allocations: 1.035 MB / 1.402 GB, free: 13.8 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009452/1.181, allocations: 280.9 kB / 1.403 GB, free: 13.66 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006036/1.182, allocations: 407.1 kB / 1.403 GB, free: 13.34 MB / 1.092 GB Notification: Performance of SimCode: time 1.453e-06/1.182, allocations: 2.031 kB / 1.403 GB, free: 13.34 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05473/1.237, allocations: 22.71 MB / 1.425 GB, free: 7.543 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/14, allocations: 10.95 kB / 1.425 GB, free: 7.535 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