Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001844/0.001845, 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.002287/0.002287, allocations: 194.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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.756/2.756, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 67.62 kB / 0.912 GB, free: 33.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2937, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006911/0.3006, allocations: 5.131 MB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1639/0.4646, allocations: 150.7 MB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.4656, allocations: 15.94 kB / 1.22 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008777/0.4665, allocations: 194.1 kB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.4689, allocations: 0.5743 MB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.4712, allocations: 0.8474 MB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001882/0.4731, allocations: 1.432 MB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.4743, allocations: 0.6443 MB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009087/0.4752, allocations: 0.5178 MB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008717/0.4761, allocations: 0.5407 MB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003189/0.4764, allocations: 124 kB / 1.225 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.4775, allocations: 475.5 kB / 1.226 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004044/0.4779, allocations: 315 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008733/0.4788, allocations: 0.6025 MB / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.4812, allocations: 1.69 MB / 1.228 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4812, allocations: 0 / 1.228 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4812, allocations: 0 / 1.228 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.185e-05/0.4813, allocations: 8 kB / 1.228 GB, free: 6.074 MB / 0.9825 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.003434/0.4847, allocations: 1.492 MB / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4848, allocations: 12.03 kB / 1.23 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.486, allocations: 211.3 kB / 1.23 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.4871, allocations: 0.7655 MB / 1.231 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-05/0.4872, allocations: 66 kB / 1.231 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.4873, allocations: 95.98 kB / 1.231 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.489, allocations: 1.003 MB / 1.232 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.489, allocations: 0 / 1.232 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.313e-05/0.4891, allocations: 44 kB / 1.232 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.4891, allocations: 20 kB / 1.232 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.4911, allocations: 1.182 MB / 1.233 GB, free: 1.055 MB / 0.9825 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.004388/0.4955, allocations: 2.875 MB / 1.236 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/0.4982, allocations: 0.9828 MB / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005701/0.4987, allocations: 310.7 kB / 1.237 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.716e-05/0.4988, allocations: 36.55 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009884/0.4998, allocations: 0.4991 MB / 1.237 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.4998, allocations: 4 kB / 1.237 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003268/0.5031, allocations: 1.221 MB / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.5032, allocations: 200.5 kB / 1.239 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007979/0.504, allocations: 0.6372 MB / 1.239 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.5041, allocations: 41.7 kB / 1.24 GB, free: 10 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.5045, allocations: 428.2 kB / 1.24 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.5047, allocations: 260.2 kB / 1.24 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/0.5049, allocations: 174.4 kB / 1.24 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5051, allocations: 382.8 kB / 1.241 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005799/0.5057, allocations: 277.8 kB / 1.241 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/0.5064, allocations: 379 kB / 1.241 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.5076, allocations: 0.6228 MB / 1.242 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5076, allocations: 0 / 1.242 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002104/0.5097, allocations: 0.876 MB / 1.243 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.5097, allocations: 9.25 kB / 1.243 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5098, allocations: 0 / 1.243 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006172/0.5104, allocations: 88.84 kB / 1.243 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007084/0.5111, allocations: 167.7 kB / 1.243 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.5134, allocations: 1.632 MB / 1.245 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008493/0.5142, allocations: 95.25 kB / 1.245 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.943e-05/0.5143, allocations: 39.97 kB / 1.245 GB, free: 4.414 MB / 0.9981 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.0005963/0.5149, allocations: 275.6 kB / 1.245 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.5151, allocations: 86.95 kB / 1.245 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.5177, allocations: 1.101 MB / 1.246 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.5177, allocations: 8 kB / 1.246 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.5177, allocations: 4 kB / 1.246 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.5177, allocations: 3.984 kB / 1.246 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.521, allocations: 1.997 MB / 1.248 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.521, allocations: 7.938 kB / 1.248 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006018/0.5217, allocations: 151.8 kB / 1.248 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004392/0.5221, allocations: 72.8 kB / 1.248 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/0.5222, allocations: 31.97 kB / 1.248 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.602/1.124, allocations: 1.645 MB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.124, allocations: 3.375 kB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/1.127, allocations: 1.015 MB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004642/1.127, allocations: 275.3 kB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/1.128, allocations: 22.23 kB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007055/1.128, allocations: 69.61 kB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/1.128, allocations: 73.44 kB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/1.129, allocations: 36.22 kB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006452/1.129, allocations: 467.7 kB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.129, allocations: 3.969 kB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001079/1.13, allocations: 340.7 kB / 1.252 GB, free: 182.2 MB / 0.9981 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.001464/1.132, allocations: 0.6094 MB / 1.253 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002611/1.134, allocations: 1.068 MB / 1.254 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.134, allocations: 0.8438 kB / 1.254 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009928/1.135, allocations: 0.5253 MB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/1.137, allocations: 297.6 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/1.14, allocations: 1.746 MB / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/1.14, allocations: 1.044 MB / 1.257 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000885/1.141, allocations: 274.3 kB / 1.258 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/1.141, allocations: 108.4 kB / 1.258 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.141, allocations: 0 / 1.258 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03221/1.174, allocations: 15.58 MB / 1.273 GB, free: 177.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches