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.001412/0.001412, allocations: 117.1 kB / 16.37 MB, free: 6.012 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.001532/0.001532, allocations: 190.9 kB / 17.31 MB, free: 5.613 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.408/2.408, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 64.09 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2976, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006561/0.3042, allocations: 5.146 MB / 1.024 GB, free: 4.684 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7351/1.039, allocations: 150.6 MB / 1.171 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/1.04, allocations: 19.34 kB / 1.171 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006205/1.041, allocations: 201.8 kB / 1.171 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00189/1.043, allocations: 0.5648 MB / 1.172 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002196/1.045, allocations: 0.8511 MB / 1.173 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001781/1.047, allocations: 1.439 MB / 1.174 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009829/1.048, allocations: 0.6548 MB / 1.175 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008762/1.049, allocations: 0.5091 MB / 1.175 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006308/1.049, allocations: 0.5397 MB / 1.176 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001733/1.05, allocations: 125.3 kB / 1.176 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/1.051, allocations: 0.4924 MB / 1.176 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002967/1.051, allocations: 318.1 kB / 1.176 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005593/1.052, allocations: 0.5991 MB / 1.177 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002037/1.054, allocations: 1.734 MB / 1.179 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.054, allocations: 4 kB / 1.179 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.146e-06/1.054, allocations: 0 / 1.179 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.668e-05/1.054, allocations: 4.969 kB / 1.179 GB, free: 11.43 MB / 0.8887 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.0028/1.057, allocations: 1.488 MB / 1.18 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/1.057, allocations: 10.52 kB / 1.18 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/1.058, allocations: 217.1 kB / 1.18 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/1.059, allocations: 0.7811 MB / 1.181 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/1.059, allocations: 68.47 kB / 1.181 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/1.059, allocations: 93 kB / 1.181 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/1.061, allocations: 1.01 MB / 1.182 GB, free: 8.828 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/1.061, allocations: 1.281 kB / 1.182 GB, free: 8.828 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.884e-05/1.061, allocations: 36.81 kB / 1.182 GB, free: 8.801 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/1.061, allocations: 26.94 kB / 1.182 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/1.063, allocations: 1.178 MB / 1.184 GB, free: 8.234 MB / 0.8887 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.004395/1.068, allocations: 2.853 MB / 1.186 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/1.07, allocations: 0.9727 MB / 1.187 GB, free: 5.43 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/1.07, allocations: 313.9 kB / 1.188 GB, free: 5.273 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.086e-05/1.071, allocations: 35.53 kB / 1.188 GB, free: 5.25 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009323/1.071, allocations: 0.5023 MB / 1.188 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 2.294e-06/1.071, allocations: 0 / 1.188 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of matching and sorting (n=82): time 0.003282/1.075, allocations: 1.229 MB / 1.189 GB, free: 4.266 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.075, allocations: 188.6 kB / 1.19 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008056/1.076, allocations: 0.6451 MB / 1.19 GB, free: 3.664 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.725e-05/1.076, allocations: 42.98 kB / 1.19 GB, free: 3.621 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/1.076, allocations: 420.4 kB / 1.191 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/1.076, allocations: 270.4 kB / 1.191 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/1.077, allocations: 165.1 kB / 1.191 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.00016/1.077, allocations: 389.7 kB / 1.191 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005241/1.077, allocations: 273.9 kB / 1.192 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/1.078, allocations: 381.7 kB / 1.192 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/1.079, allocations: 0.6216 MB / 1.193 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.079, allocations: 0 / 1.193 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001961/1.081, allocations: 0.8696 MB / 1.193 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/1.081, allocations: 8.906 kB / 1.193 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/1.081, allocations: 3.984 kB / 1.193 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005966/1.082, allocations: 85.52 kB / 1.194 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/1.082, allocations: 168.2 kB / 1.194 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/1.085, allocations: 1.627 MB / 1.195 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008728/1.085, allocations: 106.1 kB / 1.195 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.89e-05/1.086, allocations: 38.16 kB / 1.195 GB, free: 15.64 MB / 0.9044 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.0005579/1.086, allocations: 278.1 kB / 1.196 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/1.086, allocations: 86.83 kB / 1.196 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/1.089, allocations: 1.099 MB / 1.197 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/1.089, allocations: 7.688 kB / 1.197 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-06/1.089, allocations: 2.75 kB / 1.197 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/1.089, allocations: 3.984 kB / 1.197 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/1.092, allocations: 2 MB / 1.199 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.092, allocations: 0 / 1.199 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005844/1.093, allocations: 150.9 kB / 1.199 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004213/1.093, allocations: 75.97 kB / 1.199 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.363e-05/1.093, allocations: 26.05 kB / 1.199 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/1.095, allocations: 1.663 MB / 1.201 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.095, allocations: 0 / 1.201 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/1.097, allocations: 1.017 MB / 1.202 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004551/1.098, allocations: 279.6 kB / 1.202 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/1.098, allocations: 23.56 kB / 1.202 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006615/1.098, allocations: 64.36 kB / 1.202 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/1.099, allocations: 69.53 kB / 1.202 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/1.099, allocations: 34.94 kB / 1.202 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005742/1.099, allocations: 466 kB / 1.203 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/1.099, allocations: 4 kB / 1.203 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009607/1.1, allocations: 350.5 kB / 1.203 GB, free: 10.44 MB / 0.9044 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.001317/1.102, allocations: 0.6116 MB / 1.204 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001718/1.103, allocations: 0.8532 MB / 1.204 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.103, allocations: 0 / 1.204 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009484/1.104, allocations: 0.5375 MB / 1.205 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/1.106, allocations: 301.6 kB / 1.205 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/1.109, allocations: 1.724 MB / 1.207 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/1.109, allocations: 1.039 MB / 1.208 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008321/1.11, allocations: 270.8 kB / 1.208 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/1.11, allocations: 111.4 kB / 1.208 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of SimCode: time 9.12e-07/1.11, allocations: 0 / 1.208 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of Templates: time 0.02503/1.135, allocations: 15.56 MB / 1.223 GB, free: 6.797 MB / 0.92 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 -s gbode -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