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.00191/0.001918, allocations: 108 kB / 15.6 MB, free: 132 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.002449/0.002449, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.484/1.484, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.765/2.765, allocations: 437 MB / 0.7104 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003089/0.003089, allocations: 63.89 kB / 0.8692 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7381/0.7413, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00804/0.7493, allocations: 5.15 MB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1876/0.9369, allocations: 150.7 MB / 1.169 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009636/0.938, allocations: 19.88 kB / 1.169 GB, free: 6.027 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008942/0.9389, allocations: 194.1 kB / 1.17 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002536/0.9415, allocations: 0.576 MB / 1.17 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.944, allocations: 0.8329 MB / 1.171 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001972/0.946, allocations: 1.428 MB / 1.172 GB, free: 3 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.9473, allocations: 0.6637 MB / 1.173 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.9484, allocations: 0.5061 MB / 1.174 GB, free: 1.805 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.9495, allocations: 0.5407 MB / 1.174 GB, free: 1.262 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003887/0.9499, allocations: 128 kB / 1.174 GB, free: 1.137 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.9511, allocations: 471.6 kB / 1.175 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00044/0.9516, allocations: 315 kB / 1.175 GB, free: 376 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.9526, allocations: 0.6102 MB / 1.176 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002644/0.9553, allocations: 1.698 MB / 1.177 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9553, allocations: 0 / 1.177 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9553, allocations: 0 / 1.177 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.848e-05/0.9554, allocations: 0 / 1.177 GB, free: 14.05 MB / 0.9356 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.003692/0.9591, allocations: 1.488 MB / 1.179 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.9591, allocations: 12.03 kB / 1.179 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.9605, allocations: 215.3 kB / 1.179 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.9619, allocations: 0.7538 MB / 1.18 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.088e-05/0.962, allocations: 74 kB / 1.18 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.9621, allocations: 91.98 kB / 1.18 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.9641, allocations: 1.011 MB / 1.181 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.9642, allocations: 0 / 1.181 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.782e-05/0.9643, allocations: 40 kB / 1.181 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/0.9643, allocations: 24 kB / 1.181 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/0.9665, allocations: 1.175 MB / 1.182 GB, free: 9.039 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.005303/0.9719, allocations: 2.89 MB / 1.185 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/0.9745, allocations: 0.9664 MB / 1.186 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006273/0.9751, allocations: 318.6 kB / 1.186 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.445e-05/0.9752, allocations: 28.61 kB / 1.186 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009488/0.9762, allocations: 0.4953 MB / 1.187 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.815e-06/0.9762, allocations: 3.938 kB / 1.187 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003515/0.9797, allocations: 1.229 MB / 1.188 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.9798, allocations: 200.5 kB / 1.188 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009494/0.9808, allocations: 0.6448 MB / 1.189 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.647e-05/0.9809, allocations: 41.7 kB / 1.189 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.9813, allocations: 420.3 kB / 1.189 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.9815, allocations: 268.1 kB / 1.189 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.9818, allocations: 170.5 kB / 1.189 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.982, allocations: 386.8 kB / 1.19 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006291/0.9827, allocations: 281.8 kB / 1.19 GB, free: 468 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007318/0.9834, allocations: 367.1 kB / 1.19 GB, free: 88 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.9848, allocations: 0.6307 MB / 1.191 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.9848, allocations: 0 / 1.191 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002199/0.987, allocations: 0.8722 MB / 1.192 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.987, allocations: 9.969 kB / 1.192 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.987, allocations: 7.938 kB / 1.192 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006218/0.9877, allocations: 88.7 kB / 1.192 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007462/0.9884, allocations: 159.8 kB / 1.192 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.9909, allocations: 1.634 MB / 1.194 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008295/0.9917, allocations: 103.2 kB / 1.194 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-05/0.9918, allocations: 44.03 kB / 1.194 GB, free: 12.37 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.0005339/0.9924, allocations: 271.4 kB / 1.194 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.9926, allocations: 82.97 kB / 1.194 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002756/0.9954, allocations: 1.097 MB / 1.195 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.9954, allocations: 8 kB / 1.195 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.9954, allocations: 4 kB / 1.195 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.9954, allocations: 3.984 kB / 1.195 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003792/0.9992, allocations: 2.001 MB / 1.197 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.9992, allocations: 0 / 1.197 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006728/0.9999, allocations: 151.8 kB / 1.197 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004908/1, allocations: 68.8 kB / 1.197 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.71e-05/1, allocations: 27.97 kB / 1.197 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/1.003, allocations: 1.662 MB / 1.199 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.003, allocations: 3.938 kB / 1.199 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/1.005, allocations: 1.016 MB / 1.2 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004223/1.005, allocations: 271.7 kB / 1.2 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/1.005, allocations: 31.83 kB / 1.2 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00073/1.006, allocations: 63.94 kB / 1.2 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/1.006, allocations: 72.83 kB / 1.201 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.699e-05/1.006, allocations: 39.97 kB / 1.201 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006397/1.007, allocations: 475 kB / 1.201 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.1e-07/1.007, allocations: 0 / 1.201 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009488/1.008, allocations: 331.2 kB / 1.201 GB, free: 4.457 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.002003/1.01, allocations: 0.609 MB / 1.202 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002654/1.013, allocations: 1.058 MB / 1.203 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.013, allocations: 4 kB / 1.203 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/1.014, allocations: 0.5354 MB / 1.203 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/1.015, allocations: 303.2 kB / 1.204 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/1.019, allocations: 1.738 MB / 1.205 GB, free: 376 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008062/1.019, allocations: 1.049 MB / 1.207 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009735/1.02, allocations: 278.7 kB / 1.207 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/1.021, allocations: 103.4 kB / 1.207 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of SimCode: time 7.21e-07/1.021, allocations: 3.938 kB / 1.207 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of Templates: time 0.03041/1.051, allocations: 15.56 MB / 1.222 GB, free: 15.53 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=400 -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