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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006077/0.006077, allocations: 106.9 kB / 15.74 MB, free: 5.582 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.001999/0.001999, allocations: 197.5 kB / 16.67 MB, free: 5.508 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.592/2.592, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001279, allocations: 60.12 kB / 1.054 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8254/0.8267, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007816/0.8346, allocations: 5.121 MB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1813/1.016, allocations: 150.7 MB / 1.36 GB, free: 1.23 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009173/1.017, allocations: 19.94 kB / 1.36 GB, free: 1.211 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006444/1.017, allocations: 194.1 kB / 1.36 GB, free: 1.02 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00186/1.019, allocations: 0.5658 MB / 1.361 GB, free: 468 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002304/1.022, allocations: 0.8483 MB / 1.361 GB, free: 15.61 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001937/1.024, allocations: 1.444 MB / 1.363 GB, free: 14.16 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000907/1.025, allocations: 0.6482 MB / 1.363 GB, free: 13.5 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006737/1.025, allocations: 0.5178 MB / 1.364 GB, free: 12.98 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005957/1.026, allocations: 0.5445 MB / 1.365 GB, free: 12.43 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/1.026, allocations: 128 kB / 1.365 GB, free: 12.31 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009168/1.027, allocations: 491.6 kB / 1.365 GB, free: 11.83 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002576/1.027, allocations: 319 kB / 1.365 GB, free: 11.52 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004763/1.028, allocations: 0.6102 MB / 1.366 GB, free: 10.9 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00176/1.029, allocations: 1.731 MB / 1.368 GB, free: 9.168 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.03, allocations: 3.938 kB / 1.368 GB, free: 9.164 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.473e-06/1.03, allocations: 0 / 1.368 GB, free: 9.164 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.639e-05/1.03, allocations: 0 / 1.368 GB, free: 9.164 MB / 1.092 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.002635/1.032, allocations: 1.496 MB / 1.369 GB, free: 7.609 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.032, allocations: 8.031 kB / 1.369 GB, free: 7.602 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/1.033, allocations: 215.3 kB / 1.369 GB, free: 7.391 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/1.035, allocations: 0.7811 MB / 1.37 GB, free: 6.566 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.313e-05/1.035, allocations: 70 kB / 1.37 GB, free: 6.496 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/1.035, allocations: 96 kB / 1.37 GB, free: 6.402 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/1.037, allocations: 1.003 MB / 1.371 GB, free: 5.363 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/1.037, allocations: 4 kB / 1.371 GB, free: 5.359 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.925e-05/1.037, allocations: 47.98 kB / 1.371 GB, free: 5.312 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/1.037, allocations: 20 kB / 1.371 GB, free: 5.293 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/1.039, allocations: 1.175 MB / 1.372 GB, free: 4.117 MB / 1.092 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.004245/1.043, allocations: 2.855 MB / 1.375 GB, free: 1.137 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/1.046, allocations: 0.9732 MB / 1.376 GB, free: 140 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006128/1.046, allocations: 310.7 kB / 1.377 GB, free: 15.83 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-05/1.046, allocations: 36.59 kB / 1.377 GB, free: 15.8 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009668/1.047, allocations: 0.499 MB / 1.377 GB, free: 15.28 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 3.556e-06/1.047, allocations: 0 / 1.377 GB, free: 15.28 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.003463/1.051, allocations: 1.229 MB / 1.378 GB, free: 14.02 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/1.051, allocations: 192.5 kB / 1.378 GB, free: 13.79 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008312/1.052, allocations: 0.641 MB / 1.379 GB, free: 13.14 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/1.052, allocations: 49.69 kB / 1.379 GB, free: 13.08 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/1.052, allocations: 416.3 kB / 1.379 GB, free: 12.67 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/1.052, allocations: 272.1 kB / 1.38 GB, free: 12.4 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/1.053, allocations: 170.4 kB / 1.38 GB, free: 12.23 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.053, allocations: 386.7 kB / 1.38 GB, free: 11.84 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005789/1.053, allocations: 277.8 kB / 1.381 GB, free: 11.57 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006702/1.054, allocations: 375.1 kB / 1.381 GB, free: 11.19 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/1.055, allocations: 0.619 MB / 1.382 GB, free: 10.56 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-06/1.055, allocations: 0 / 1.382 GB, free: 10.56 MB / 1.107 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002086/1.057, allocations: 0.8799 MB / 1.382 GB, free: 9.664 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.057, allocations: 8 kB / 1.382 GB, free: 9.656 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.057, allocations: 0 / 1.382 GB, free: 9.656 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005997/1.058, allocations: 84.81 kB / 1.382 GB, free: 9.57 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/1.059, allocations: 167.7 kB / 1.383 GB, free: 9.406 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/1.061, allocations: 1.633 MB / 1.384 GB, free: 7.633 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007637/1.062, allocations: 99.39 kB / 1.384 GB, free: 7.535 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.391e-05/1.062, allocations: 39.97 kB / 1.384 GB, free: 7.496 MB / 1.107 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.0004515/1.062, allocations: 276.2 kB / 1.385 GB, free: 7.219 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/1.062, allocations: 82.97 kB / 1.385 GB, free: 7.137 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/1.065, allocations: 1.101 MB / 1.386 GB, free: 6.02 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/1.065, allocations: 8 kB / 1.386 GB, free: 6.012 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/1.065, allocations: 0 / 1.386 GB, free: 6.012 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/1.065, allocations: 7.984 kB / 1.386 GB, free: 6.004 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/1.068, allocations: 1.999 MB / 1.388 GB, free: 3.945 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.068, allocations: 0 / 1.388 GB, free: 3.945 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006226/1.069, allocations: 151.8 kB / 1.388 GB, free: 3.797 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004588/1.07, allocations: 68.78 kB / 1.388 GB, free: 3.727 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/1.07, allocations: 23.98 kB / 1.388 GB, free: 3.703 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/1.071, allocations: 1.662 MB / 1.39 GB, free: 1.898 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.072, allocations: 3.938 kB / 1.39 GB, free: 1.895 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/1.074, allocations: 1.021 MB / 1.391 GB, free: 0.8516 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004276/1.074, allocations: 275.7 kB / 1.391 GB, free: 0.5625 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/1.074, allocations: 16 kB / 1.391 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006845/1.075, allocations: 70.11 kB / 1.391 GB, free: 492 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/1.075, allocations: 72.83 kB / 1.391 GB, free: 420 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.076e-05/1.075, allocations: 39.98 kB / 1.391 GB, free: 380 kB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005875/1.076, allocations: 471 kB / 1.391 GB, free: 15.92 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.8e-07/1.076, allocations: 0 / 1.391 GB, free: 15.92 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009185/1.077, allocations: 347 kB / 1.392 GB, free: 15.58 MB / 1.123 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.00133/1.078, allocations: 0.5981 MB / 1.392 GB, free: 15.16 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001852/1.08, allocations: 0.8585 MB / 1.393 GB, free: 14.29 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.08, allocations: 0 / 1.393 GB, free: 14.29 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009588/1.081, allocations: 0.5317 MB / 1.394 GB, free: 13.74 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/1.082, allocations: 311.9 kB / 1.394 GB, free: 13.46 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/1.085, allocations: 1.709 MB / 1.396 GB, free: 11.72 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/1.086, allocations: 1.039 MB / 1.397 GB, free: 10.65 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007809/1.087, allocations: 274.8 kB / 1.397 GB, free: 10.38 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/1.087, allocations: 115.4 kB / 1.397 GB, free: 10.27 MB / 1.123 GB Notification: Performance of SimCode: time 5.51e-07/1.087, allocations: 0 / 1.397 GB, free: 10.27 MB / 1.123 GB Notification: Performance of Templates: time 0.02567/1.113, allocations: 16.02 MB / 1.413 GB, free: 10.44 MB / 1.139 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