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: 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.002114/0.002114, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002292/0.002292, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.702/2.702, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 63.91 kB / 0.8685 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7407/0.7425, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00708/0.7496, allocations: 5.157 MB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1716/0.9213, allocations: 148.3 MB / 1.166 GB, free: 8.699 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.923, allocations: 11.94 kB / 1.167 GB, free: 8.688 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.9241, allocations: 154.8 kB / 1.167 GB, free: 8.535 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002681/0.9269, allocations: 0.4936 MB / 1.167 GB, free: 8.043 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002465/0.9294, allocations: 0.7344 MB / 1.168 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001889/0.9313, allocations: 1.339 MB / 1.169 GB, free: 5.969 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.9325, allocations: 0.6314 MB / 1.17 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008644/0.9334, allocations: 458.2 kB / 1.17 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008219/0.9342, allocations: 0.5094 MB / 1.171 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002915/0.9345, allocations: 64 kB / 1.171 GB, free: 4.289 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.9356, allocations: 407.6 kB / 1.171 GB, free: 3.891 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003693/0.936, allocations: 259 kB / 1.171 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008009/0.9368, allocations: 0.5439 MB / 1.172 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.9387, allocations: 1.639 MB / 1.174 GB, free: 1.445 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.9387, allocations: 4 kB / 1.174 GB, free: 1.441 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.001e-06/0.9388, allocations: 4 kB / 1.174 GB, free: 1.438 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.9388, allocations: 0 / 1.174 GB, free: 1.438 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.002823/0.9416, allocations: 1.489 MB / 1.175 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.9417, allocations: 8.031 kB / 1.175 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.9428, allocations: 219.3 kB / 1.175 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.9439, allocations: 0.7577 MB / 1.176 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/0.944, allocations: 73.94 kB / 1.176 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.9441, allocations: 92 kB / 1.176 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/0.9461, allocations: 1.007 MB / 1.177 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.9461, allocations: 0 / 1.177 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.9463, allocations: 44 kB / 1.177 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.9463, allocations: 24 kB / 1.177 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.9483, allocations: 1.175 MB / 1.178 GB, free: 12.42 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.00474/0.953, allocations: 2.883 MB / 1.181 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.9554, allocations: 0.9812 MB / 1.182 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005722/0.956, allocations: 314.7 kB / 1.182 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.177e-05/0.9561, allocations: 32.59 kB / 1.182 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.9571, allocations: 0.4991 MB / 1.183 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.635e-06/0.9571, allocations: 0 / 1.183 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003413/0.9606, allocations: 1.229 MB / 1.184 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/0.9607, allocations: 192.5 kB / 1.184 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009622/0.9617, allocations: 0.6409 MB / 1.185 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.133e-05/0.9618, allocations: 53.69 kB / 1.185 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.9622, allocations: 416.3 kB / 1.185 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/0.9624, allocations: 268.2 kB / 1.186 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.9627, allocations: 162.5 kB / 1.186 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.9629, allocations: 394.7 kB / 1.186 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/0.9634, allocations: 277.8 kB / 1.186 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006648/0.9641, allocations: 371.1 kB / 1.187 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.9654, allocations: 0.6229 MB / 1.187 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.9654, allocations: 0 / 1.187 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002146/0.9675, allocations: 0.8799 MB / 1.188 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.9676, allocations: 6.188 kB / 1.188 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.9676, allocations: 4 kB / 1.188 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006172/0.9682, allocations: 80.88 kB / 1.188 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/0.9689, allocations: 163.8 kB / 1.188 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.9711, allocations: 1.536 MB / 1.19 GB, free: 20 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008506/0.972, allocations: 100.9 kB / 1.19 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.493e-05/0.9721, allocations: 35.98 kB / 1.19 GB, free: 15.88 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.0005412/0.9726, allocations: 271.6 kB / 1.19 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.9728, allocations: 82.97 kB / 1.19 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.9754, allocations: 1.109 MB / 1.192 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.9754, allocations: 8 kB / 1.192 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.9754, allocations: 7.875 kB / 1.192 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.9755, allocations: 7.984 kB / 1.192 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003522/0.979, allocations: 1.989 MB / 1.193 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.979, allocations: 0 / 1.193 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000639/0.9797, allocations: 147.8 kB / 1.194 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005334/0.9802, allocations: 84.77 kB / 1.194 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.21e-05/0.9803, allocations: 23.98 kB / 1.194 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.9822, allocations: 1.551 MB / 1.195 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9822, allocations: 3.938 kB / 1.195 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.9845, allocations: 1.016 MB / 1.196 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005995/0.9852, allocations: 279.7 kB / 1.197 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.9854, allocations: 16.06 kB / 1.197 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008525/0.9863, allocations: 79.86 kB / 1.197 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.9865, allocations: 68.89 kB / 1.197 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.644e-05/0.9866, allocations: 39.98 kB / 1.197 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008332/0.9874, allocations: 467 kB / 1.197 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9874, allocations: 0 / 1.197 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001217/0.9886, allocations: 343.1 kB / 1.197 GB, free: 8.059 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.001637/0.9903, allocations: 0.6056 MB / 1.198 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002538/0.9928, allocations: 0.8546 MB / 1.199 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.9929, allocations: 0 / 1.199 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.9942, allocations: 0.5316 MB / 1.199 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/0.9963, allocations: 280.2 kB / 1.2 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/1, allocations: 2.177 MB / 1.202 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008406/1.001, allocations: 1.039 MB / 1.203 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001091/1.002, allocations: 274.8 kB / 1.203 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/1.003, allocations: 103.4 kB / 1.203 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of SimCode: time 2.595e-06/1.003, allocations: 0 / 1.203 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of Templates: time 0.02935/1.032, allocations: 14.92 MB / 1.218 GB, free: 3.559 MB / 0.9669 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/jenkins/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