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.007273/0.007273, allocations: 102 kB / 15.73 MB, free: 5.988 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.001635/0.001635, allocations: 195.2 kB / 16.67 MB, free: 5.926 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.527/2.527, allocations: 437.1 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2917, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007197/0.2989, allocations: 5.128 MB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7973/1.096, allocations: 150.7 MB / 1.318 GB, free: 10.11 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/1.097, allocations: 16 kB / 1.318 GB, free: 10.1 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006861/1.098, allocations: 200.2 kB / 1.318 GB, free: 9.992 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002252/1.1, allocations: 0.5759 MB / 1.319 GB, free: 9.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002519/1.103, allocations: 0.853 MB / 1.32 GB, free: 9.566 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001975/1.105, allocations: 1.447 MB / 1.321 GB, free: 9.281 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/1.106, allocations: 0.651 MB / 1.322 GB, free: 9.117 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009267/1.107, allocations: 0.5209 MB / 1.322 GB, free: 9.004 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006521/1.108, allocations: 0.542 MB / 1.323 GB, free: 8.867 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001941/1.108, allocations: 126.2 kB / 1.323 GB, free: 8.867 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/1.109, allocations: 496.4 kB / 1.324 GB, free: 8.836 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002977/1.109, allocations: 314.3 kB / 1.324 GB, free: 8.777 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006004/1.11, allocations: 0.6065 MB / 1.324 GB, free: 8.375 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002617/1.112, allocations: 1.732 MB / 1.326 GB, free: 7.645 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.112, allocations: 0 / 1.326 GB, free: 7.645 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.684e-06/1.112, allocations: 4 kB / 1.326 GB, free: 7.641 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.498e-05/1.112, allocations: 1.531 kB / 1.326 GB, free: 7.641 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.00296/1.115, allocations: 1.504 MB / 1.328 GB, free: 6.633 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.115, allocations: 8.594 kB / 1.328 GB, free: 6.633 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/1.116, allocations: 148.8 kB / 1.328 GB, free: 6.535 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/1.117, allocations: 214 kB / 1.328 GB, free: 6.469 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/1.118, allocations: 0.7815 MB / 1.329 GB, free: 5.961 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.04e-05/1.118, allocations: 69.31 kB / 1.329 GB, free: 5.934 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/1.118, allocations: 94.11 kB / 1.329 GB, free: 5.902 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/1.12, allocations: 1.007 MB / 1.33 GB, free: 5.453 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/1.12, allocations: 1.062 kB / 1.33 GB, free: 5.453 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.819e-05/1.12, allocations: 36.81 kB / 1.33 GB, free: 5.426 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/1.12, allocations: 27.44 kB / 1.33 GB, free: 5.422 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/1.122, allocations: 1.172 MB / 1.331 GB, free: 5.152 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.004164/1.126, allocations: 2.863 MB / 1.334 GB, free: 3.441 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/1.129, allocations: 0.9764 MB / 1.335 GB, free: 3.023 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/1.129, allocations: 316.8 kB / 1.335 GB, free: 2.898 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.421e-05/1.129, allocations: 37.64 kB / 1.335 GB, free: 2.883 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009017/1.13, allocations: 0.4969 MB / 1.336 GB, free: 2.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.464e-06/1.13, allocations: 0 / 1.336 GB, free: 2.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003293/1.134, allocations: 1.232 MB / 1.337 GB, free: 2.172 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/1.134, allocations: 192.6 kB / 1.337 GB, free: 1.949 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008828/1.135, allocations: 0.637 MB / 1.338 GB, free: 1.672 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-05/1.135, allocations: 42.36 kB / 1.338 GB, free: 1.629 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/1.135, allocations: 432.7 kB / 1.338 GB, free: 1.293 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/1.135, allocations: 263.2 kB / 1.338 GB, free: 1.086 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/1.135, allocations: 151.9 kB / 1.339 GB, free: 1.016 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.136, allocations: 385.8 kB / 1.339 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005148/1.136, allocations: 258.4 kB / 1.339 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006135/1.137, allocations: 369.7 kB / 1.339 GB, free: 408 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/1.138, allocations: 0.6001 MB / 1.34 GB, free: 124 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.138, allocations: 1.219 kB / 1.34 GB, free: 124 kB / 1.014 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001936/1.14, allocations: 0.8218 MB / 1.341 GB, free: 15.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/1.14, allocations: 11.06 kB / 1.341 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.14, allocations: 1.156 kB / 1.341 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/1.141, allocations: 87.88 kB / 1.341 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/1.141, allocations: 152.2 kB / 1.341 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/1.143, allocations: 1.633 MB / 1.343 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007101/1.144, allocations: 98.36 kB / 1.343 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.579e-05/1.144, allocations: 39.41 kB / 1.343 GB, free: 14.15 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.0004494/1.144, allocations: 261.3 kB / 1.343 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/1.145, allocations: 90.36 kB / 1.343 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/1.147, allocations: 1.103 MB / 1.344 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/1.147, allocations: 9.938 kB / 1.344 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/1.147, allocations: 0 / 1.344 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/1.147, allocations: 5.594 kB / 1.344 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003206/1.15, allocations: 1.999 MB / 1.346 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.15, allocations: 0 / 1.346 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/1.151, allocations: 160.1 kB / 1.346 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004228/1.151, allocations: 68.53 kB / 1.346 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.054e-05/1.151, allocations: 26.53 kB / 1.346 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/1.153, allocations: 1.66 MB / 1.348 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.153, allocations: 2.344 kB / 1.348 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/1.155, allocations: 1.019 MB / 1.349 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/1.156, allocations: 279.1 kB / 1.349 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/1.156, allocations: 27.44 kB / 1.349 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/1.156, allocations: 62.52 kB / 1.349 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/1.157, allocations: 76.5 kB / 1.35 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/1.157, allocations: 36.83 kB / 1.35 GB, free: 10.19 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005829/1.157, allocations: 474.3 kB / 1.35 GB, free: 9.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.157, allocations: 0 / 1.35 GB, free: 9.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001031/1.158, allocations: 334.3 kB / 1.35 GB, free: 9.891 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.003495/1.162, allocations: 2.072 MB / 1.352 GB, free: 8.727 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00173/1.163, allocations: 0.8261 MB / 1.353 GB, free: 8.383 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.163, allocations: 0 / 1.353 GB, free: 8.383 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009544/1.164, allocations: 0.5252 MB / 1.354 GB, free: 8.141 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/1.166, allocations: 305.8 kB / 1.354 GB, free: 8.047 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/1.176, allocations: 6.415 MB / 1.36 GB, free: 4.438 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006797/1.176, allocations: 1.04 MB / 1.361 GB, free: 3.586 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009815/1.177, allocations: 277.8 kB / 1.361 GB, free: 3.445 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005637/1.178, allocations: 404.8 kB / 1.362 GB, free: 3.121 MB / 1.029 GB Notification: Performance of SimCode: time 9.92e-07/1.178, allocations: 0 / 1.362 GB, free: 3.121 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05033/1.228, allocations: 22.28 MB / 1.384 GB, free: 5.711 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.62, allocations: 10.92 kB / 1.384 GB, free: 5.707 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 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.mat","/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) Reference file matches