Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001585/0.001585, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.001527/0.001527, allocations: 188.7 kB / 17.19 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.44/1.44, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.735/2.735, allocations: 469.8 MB / 0.743 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001957, allocations: 69.14 kB / 0.9092 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3718, allocations: 159.1 MB / 1.065 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.008339/0.3802, allocations: 5.118 MB / 1.07 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7653/1.146, allocations: 150.7 MB / 1.217 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/1.147, allocations: 19.41 kB / 1.217 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006957/1.147, allocations: 196.5 kB / 1.217 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00225/1.15, allocations: 0.5551 MB / 1.218 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002391/1.152, allocations: 0.8468 MB / 1.218 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002263/1.154, allocations: 1.437 MB / 1.22 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/1.156, allocations: 0.6492 MB / 1.22 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009112/1.157, allocations: 0.5084 MB / 1.221 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007373/1.157, allocations: 0.5415 MB / 1.221 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/1.157, allocations: 126.8 kB / 1.222 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/1.159, allocations: 470 kB / 1.222 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003401/1.159, allocations: 320.1 kB / 1.222 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006896/1.16, allocations: 0.5987 MB / 1.223 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002287/1.162, allocations: 1.693 MB / 1.225 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/1.162, allocations: 3.984 kB / 1.225 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/1.162, allocations: 2.562 kB / 1.225 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.952e-05/1.162, allocations: 0 / 1.225 GB, free: 3.328 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.002921/1.165, allocations: 1.488 MB / 1.226 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.165, allocations: 7.75 kB / 1.226 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/1.166, allocations: 224 kB / 1.226 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/1.167, allocations: 0.7574 MB / 1.227 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-05/1.167, allocations: 73.09 kB / 1.227 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/1.167, allocations: 89.19 kB / 1.227 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/1.169, allocations: 1.01 MB / 1.228 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/1.169, allocations: 0 / 1.228 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.987e-05/1.169, allocations: 42.69 kB / 1.228 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/1.169, allocations: 21.62 kB / 1.228 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/1.171, allocations: 1.177 MB / 1.229 GB, free: 15.95 MB / 0.9512 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.004904/1.176, allocations: 2.891 MB / 1.232 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/1.179, allocations: 0.9727 MB / 1.233 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006405/1.18, allocations: 315.5 kB / 1.233 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.637e-05/1.18, allocations: 36.17 kB / 1.233 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/1.181, allocations: 0.4991 MB / 1.234 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 2.635e-06/1.181, allocations: 0 / 1.234 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of matching and sorting (n=82): time 0.003558/1.184, allocations: 1.229 MB / 1.235 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/1.184, allocations: 188.6 kB / 1.235 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009714/1.185, allocations: 0.6487 MB / 1.236 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.299e-05/1.185, allocations: 45.7 kB / 1.236 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000403/1.186, allocations: 416.3 kB / 1.236 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/1.186, allocations: 268.2 kB / 1.237 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/1.186, allocations: 166.5 kB / 1.237 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002156/1.187, allocations: 394.8 kB / 1.237 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006085/1.187, allocations: 273.8 kB / 1.237 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007292/1.188, allocations: 375.1 kB / 1.238 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/1.189, allocations: 0.6229 MB / 1.238 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/1.189, allocations: 3.984 kB / 1.238 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00222/1.192, allocations: 0.876 MB / 1.239 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.192, allocations: 10.44 kB / 1.239 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.192, allocations: 0 / 1.239 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/1.192, allocations: 80.86 kB / 1.239 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000707/1.193, allocations: 163.8 kB / 1.239 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/1.195, allocations: 1.632 MB / 1.241 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009174/1.196, allocations: 99.25 kB / 1.241 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-05/1.196, allocations: 31.98 kB / 1.241 GB, free: 3.32 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.0005674/1.197, allocations: 286 kB / 1.241 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/1.197, allocations: 86.97 kB / 1.242 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/1.2, allocations: 1.099 MB / 1.243 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/1.2, allocations: 11.94 kB / 1.243 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/1.2, allocations: 0 / 1.243 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/1.2, allocations: 5.484 kB / 1.243 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/1.203, allocations: 2.004 MB / 1.245 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/1.204, allocations: 4 kB / 1.245 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006316/1.204, allocations: 147.8 kB / 1.245 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004588/1.205, allocations: 72.78 kB / 1.245 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.393e-05/1.205, allocations: 27.97 kB / 1.245 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/1.207, allocations: 1.666 MB / 1.246 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.207, allocations: 144 / 1.246 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/1.209, allocations: 1.023 MB / 1.247 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004691/1.21, allocations: 271.7 kB / 1.248 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/1.21, allocations: 23.98 kB / 1.248 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006843/1.21, allocations: 63.94 kB / 1.248 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/1.211, allocations: 72.89 kB / 1.248 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.477e-05/1.211, allocations: 35.98 kB / 1.248 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006665/1.211, allocations: 471 kB / 1.248 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.211, allocations: 0 / 1.248 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001023/1.212, allocations: 335.1 kB / 1.249 GB, free: 11.39 MB / 0.9669 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.001951/1.214, allocations: 0.6231 MB / 1.249 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002731/1.217, allocations: 1.058 MB / 1.25 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/1.217, allocations: 0 / 1.25 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/1.218, allocations: 0.5314 MB / 1.251 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/1.22, allocations: 302.3 kB / 1.251 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/1.223, allocations: 1.782 MB / 1.253 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007678/1.224, allocations: 1.043 MB / 1.254 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/1.224, allocations: 123.4 kB / 1.254 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of SimCode: time 7.31e-07/1.224, allocations: 0 / 1.254 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of Templates: time 0.0285/1.253, allocations: 19.31 MB / 1.273 GB, free: 2.797 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches