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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 98.56 kB / 16.02 MB, free: 76 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.001373/0.001373, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.671/2.671, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004074, allocations: 8 kB / 0.8735 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8163/0.8168, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005562/0.8224, allocations: 4.718 MB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1764/0.9988, allocations: 146.7 MB / 1.172 GB, free: 7.801 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008926/0.9998, allocations: 15.88 kB / 1.172 GB, free: 7.785 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000591/1, allocations: 154.8 kB / 1.172 GB, free: 7.633 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001663/1.002, allocations: 493.5 kB / 1.172 GB, free: 7.152 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001866/1.004, allocations: 0.7368 MB / 1.173 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001485/1.005, allocations: 1.339 MB / 1.174 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008814/1.006, allocations: 0.6235 MB / 1.175 GB, free: 4.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006309/1.007, allocations: 362.3 kB / 1.175 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004925/1.007, allocations: 417.8 kB / 1.176 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.327e-05/1.008, allocations: 24 kB / 1.176 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008249/1.008, allocations: 367.6 kB / 1.176 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001889/1.009, allocations: 195 kB / 1.176 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004241/1.009, allocations: 0.4909 MB / 1.177 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/1.01, allocations: 1.251 MB / 1.178 GB, free: 1.336 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.01, allocations: 0 / 1.178 GB, free: 1.336 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/1.01, allocations: 0 / 1.178 GB, free: 1.336 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.673e-05/1.01, allocations: 0 / 1.178 GB, free: 1.336 MB / 0.92 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.002299/1.013, allocations: 1.266 MB / 1.179 GB, free: 16 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/1.013, allocations: 8.031 kB / 1.179 GB, free: 8 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/1.014, allocations: 227.5 kB / 1.179 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/1.015, allocations: 0.7655 MB / 1.18 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.108e-05/1.015, allocations: 70 kB / 1.18 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/1.015, allocations: 91.98 kB / 1.18 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/1.017, allocations: 1.015 MB / 1.181 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/1.017, allocations: 0 / 1.181 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/1.017, allocations: 40 kB / 1.181 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/1.017, allocations: 24 kB / 1.181 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/1.019, allocations: 1.186 MB / 1.182 GB, free: 12.52 MB / 0.9356 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.004776/1.024, allocations: 2.915 MB / 1.185 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/1.027, allocations: 0.9806 MB / 1.186 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005786/1.027, allocations: 322.6 kB / 1.187 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.638e-05/1.027, allocations: 36.58 kB / 1.187 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009477/1.028, allocations: 0.503 MB / 1.187 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 3.276e-06/1.028, allocations: 0 / 1.187 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003325/1.032, allocations: 1.248 MB / 1.188 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.032, allocations: 196.5 kB / 1.188 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008829/1.033, allocations: 0.6449 MB / 1.189 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.116e-05/1.033, allocations: 41.7 kB / 1.189 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/1.033, allocations: 416.3 kB / 1.19 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/1.033, allocations: 276.2 kB / 1.19 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/1.033, allocations: 69.67 kB / 1.19 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001742/1.034, allocations: 382.8 kB / 1.19 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005768/1.034, allocations: 281.8 kB / 1.191 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00065/1.035, allocations: 379 kB / 1.191 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/1.036, allocations: 0.6385 MB / 1.192 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.036, allocations: 0 / 1.192 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002077/1.038, allocations: 0.8838 MB / 1.192 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/1.038, allocations: 4 kB / 1.192 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.038, allocations: 4 kB / 1.192 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/1.039, allocations: 84.86 kB / 1.192 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/1.04, allocations: 167.7 kB / 1.193 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/1.042, allocations: 1.528 MB / 1.194 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009024/1.043, allocations: 112.8 kB / 1.194 GB, free: 8 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.123e-05/1.043, allocations: 35.97 kB / 1.194 GB, free: 15.97 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (96): * Single equations (assignments): 95 * 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.0005723/1.043, allocations: 283.8 kB / 1.195 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/1.043, allocations: 82.97 kB / 1.195 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002504/1.046, allocations: 1.105 MB / 1.196 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/1.046, allocations: 8 kB / 1.196 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.046, allocations: 3.938 kB / 1.196 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/1.046, allocations: 7.969 kB / 1.196 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003505/1.049, allocations: 2.008 MB / 1.198 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.05, allocations: 0 / 1.198 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/1.05, allocations: 151.8 kB / 1.198 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005191/1.051, allocations: 80.78 kB / 1.198 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.949e-05/1.051, allocations: 31.97 kB / 1.198 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/1.053, allocations: 1.548 MB / 1.199 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.053, allocations: 7.875 kB / 1.199 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/1.055, allocations: 1.027 MB / 1.2 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004491/1.055, allocations: 291.6 kB / 1.201 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/1.055, allocations: 20 kB / 1.201 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007486/1.056, allocations: 88.52 kB / 1.201 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/1.056, allocations: 76.89 kB / 1.201 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-05/1.056, allocations: 35.97 kB / 1.201 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006389/1.057, allocations: 463 kB / 1.201 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.843e-06/1.057, allocations: 0 / 1.201 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009985/1.058, allocations: 351 kB / 1.202 GB, free: 8.078 MB / 0.9512 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.001462/1.06, allocations: 0.6089 MB / 1.202 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001893/1.061, allocations: 0.8587 MB / 1.203 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.061, allocations: 0 / 1.203 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009758/1.062, allocations: 0.5353 MB / 1.204 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/1.064, allocations: 283.3 kB / 1.204 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/1.067, allocations: 2.237 MB / 1.206 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006085/1.068, allocations: 1.047 MB / 1.207 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/1.068, allocations: 115.4 kB / 1.207 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of SimCode: time 1.012e-06/1.068, allocations: 0 / 1.207 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of Templates: time 0.0269/1.095, allocations: 19.18 MB / 1.226 GB, free: 15.38 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (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 & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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