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.001832/0.001833, allocations: 109.9 kB / 16.27 MB, free: 6.414 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.001599/0.0016, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.434/1.434, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.554/2.554, allocations: 437.1 MB / 0.7111 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 63.67 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3287, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007529/0.3362, allocations: 5.133 MB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6884/1.025, allocations: 150.7 MB / 1.17 GB, free: 260 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008509/1.026, allocations: 15.75 kB / 1.17 GB, free: 256 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005959/1.026, allocations: 199.1 kB / 1.17 GB, free: 128 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001903/1.028, allocations: 0.5595 MB / 1.171 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002168/1.03, allocations: 0.8441 MB / 1.172 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002178/1.033, allocations: 1.433 MB / 1.173 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/1.034, allocations: 0.6496 MB / 1.174 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009719/1.035, allocations: 0.5106 MB / 1.174 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007218/1.035, allocations: 0.5393 MB / 1.175 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002021/1.036, allocations: 126.8 kB / 1.175 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/1.037, allocations: 480.3 kB / 1.175 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000327/1.037, allocations: 319.3 kB / 1.176 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006807/1.038, allocations: 0.5981 MB / 1.176 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/1.04, allocations: 1.693 MB / 1.178 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.04, allocations: 0.8125 kB / 1.178 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.793e-06/1.04, allocations: 0 / 1.178 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.822e-05/1.04, allocations: 0 / 1.178 GB, free: 11.91 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.002985/1.043, allocations: 1.493 MB / 1.179 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.043, allocations: 9.953 kB / 1.179 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/1.044, allocations: 218.1 kB / 1.18 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/1.046, allocations: 0.758 MB / 1.18 GB, free: 10 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.511e-05/1.046, allocations: 76.5 kB / 1.18 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/1.046, allocations: 89.88 kB / 1.18 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/1.048, allocations: 1.005 MB / 1.181 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/1.048, allocations: 2.312 kB / 1.181 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/1.048, allocations: 41.42 kB / 1.181 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/1.048, allocations: 27.86 kB / 1.182 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/1.05, allocations: 1.178 MB / 1.183 GB, free: 8.707 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.004952/1.055, allocations: 2.883 MB / 1.185 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/1.057, allocations: 0.9731 MB / 1.186 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006011/1.058, allocations: 315.2 kB / 1.187 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.208e-05/1.058, allocations: 38.97 kB / 1.187 GB, free: 5.703 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009408/1.059, allocations: 0.4907 MB / 1.187 GB, free: 5.391 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 2.825e-06/1.059, allocations: 0 / 1.187 GB, free: 5.391 MB / 0.8887 GB Notification: Performance of matching and sorting (n=82): time 0.003496/1.063, allocations: 1.232 MB / 1.188 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/1.063, allocations: 191 kB / 1.189 GB, free: 4.504 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009516/1.064, allocations: 0.6485 MB / 1.189 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.162e-05/1.064, allocations: 42.8 kB / 1.189 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/1.064, allocations: 416.9 kB / 1.19 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/1.064, allocations: 267 kB / 1.19 GB, free: 3.48 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/1.065, allocations: 161.8 kB / 1.19 GB, free: 3.383 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002079/1.065, allocations: 398.8 kB / 1.19 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/1.065, allocations: 276.5 kB / 1.191 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00068/1.066, allocations: 377.2 kB / 1.191 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/1.067, allocations: 0.6239 MB / 1.192 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.067, allocations: 0 / 1.192 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002106/1.069, allocations: 0.8754 MB / 1.193 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/1.069, allocations: 9.375 kB / 1.193 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.069, allocations: 2.594 kB / 1.193 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006053/1.07, allocations: 81.59 kB / 1.193 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/1.071, allocations: 170.5 kB / 1.193 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/1.073, allocations: 1.627 MB / 1.194 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/1.074, allocations: 97.11 kB / 1.195 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/1.074, allocations: 43.22 kB / 1.195 GB, free: 96 kB / 0.8887 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.0005862/1.075, allocations: 284.1 kB / 1.195 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/1.075, allocations: 83.12 kB / 1.195 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/1.077, allocations: 1.1 MB / 1.196 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/1.078, allocations: 9.906 kB / 1.196 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/1.078, allocations: 0 / 1.196 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/1.078, allocations: 3.984 kB / 1.196 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003498/1.081, allocations: 2.006 MB / 1.198 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/1.081, allocations: 0 / 1.198 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006047/1.082, allocations: 150.6 kB / 1.198 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/1.082, allocations: 74.47 kB / 1.198 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/1.082, allocations: 26.39 kB / 1.198 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/1.084, allocations: 1.662 MB / 1.2 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.084, allocations: 0 / 1.2 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/1.086, allocations: 1.023 MB / 1.201 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004719/1.087, allocations: 273.5 kB / 1.201 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/1.087, allocations: 21.38 kB / 1.201 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006912/1.088, allocations: 64.45 kB / 1.201 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/1.088, allocations: 77.45 kB / 1.201 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/1.088, allocations: 33.08 kB / 1.201 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006011/1.089, allocations: 463.2 kB / 1.202 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.089, allocations: 0 / 1.202 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009825/1.09, allocations: 343.1 kB / 1.202 GB, free: 10.89 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.001895/1.091, allocations: 0.6133 MB / 1.203 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002589/1.094, allocations: 1.058 MB / 1.204 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/1.094, allocations: 0 / 1.204 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009916/1.095, allocations: 0.538 MB / 1.204 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/1.097, allocations: 306.1 kB / 1.204 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/1.1, allocations: 1.776 MB / 1.206 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000725/1.101, allocations: 1.043 MB / 1.207 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/1.101, allocations: 119.4 kB / 1.207 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of SimCode: time 9.12e-07/1.101, allocations: 0 / 1.207 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of Templates: time 0.02972/1.131, allocations: 19.32 MB / 1.226 GB, free: 3.586 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=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/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