Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001764/0.001764, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001886/0.001886, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 67.88 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8538/0.8553, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005852/0.8612, allocations: 4.388 MB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1888/1.05, allocations: 150.6 MB / 1.24 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/1.051, allocations: 16.06 kB / 1.24 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006955/1.052, allocations: 184.6 kB / 1.24 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002215/1.054, allocations: 0.5076 MB / 1.241 GB, free: 404 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002484/1.057, allocations: 0.8402 MB / 1.241 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001914/1.059, allocations: 1.324 MB / 1.243 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/1.06, allocations: 0.6998 MB / 1.243 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008722/1.061, allocations: 0.4975 MB / 1.244 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006661/1.061, allocations: 0.5228 MB / 1.244 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001752/1.061, allocations: 130 kB / 1.245 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/1.063, allocations: 498.2 kB / 1.245 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002945/1.063, allocations: 322.9 kB / 1.245 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005347/1.063, allocations: 0.5713 MB / 1.246 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/1.066, allocations: 1.696 MB / 1.248 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.066, allocations: 4 kB / 1.248 GB, free: 11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/1.066, allocations: 0 / 1.248 GB, free: 11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.775e-05/1.066, allocations: 0 / 1.248 GB, free: 11 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.002722/1.068, allocations: 1.475 MB / 1.249 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/1.068, allocations: 12.03 kB / 1.249 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/1.069, allocations: 207.3 kB / 1.249 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/1.071, allocations: 0.785 MB / 1.25 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.103e-05/1.071, allocations: 74 kB / 1.25 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/1.071, allocations: 99.92 kB / 1.25 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/1.073, allocations: 0.9995 MB / 1.251 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/1.073, allocations: 4 kB / 1.251 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.895e-05/1.073, allocations: 40 kB / 1.251 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/1.073, allocations: 24 kB / 1.251 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/1.075, allocations: 1.175 MB / 1.252 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004461/1.079, allocations: 2.573 MB / 1.255 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/1.082, allocations: 0.9817 MB / 1.256 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006054/1.082, allocations: 310.7 kB / 1.256 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.615e-05/1.083, allocations: 28.62 kB / 1.256 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009265/1.083, allocations: 0.4953 MB / 1.257 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/1.084, allocations: 0 / 1.257 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003276/1.087, allocations: 1.221 MB / 1.258 GB, free: 256 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/1.087, allocations: 196.5 kB / 1.258 GB, free: 16 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009551/1.088, allocations: 0.6449 MB / 1.259 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/1.088, allocations: 45.69 kB / 1.259 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/1.088, allocations: 420.2 kB / 1.259 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/1.089, allocations: 264.2 kB / 1.259 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/1.089, allocations: 166.5 kB / 1.259 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001857/1.089, allocations: 386.7 kB / 1.26 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006213/1.09, allocations: 277.8 kB / 1.26 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006783/1.09, allocations: 371 kB / 1.26 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/1.092, allocations: 0.619 MB / 1.261 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.092, allocations: 0 / 1.261 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002129/1.094, allocations: 0.8721 MB / 1.262 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.094, allocations: 4 kB / 1.262 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/1.094, allocations: 0 / 1.262 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005884/1.094, allocations: 80.88 kB / 1.262 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006984/1.095, allocations: 171.7 kB / 1.262 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/1.097, allocations: 1.63 MB / 1.264 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008701/1.098, allocations: 99.23 kB / 1.264 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.089e-05/1.098, allocations: 39.97 kB / 1.264 GB, free: 9.746 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.0005049/1.099, allocations: 275.9 kB / 1.264 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/1.099, allocations: 82.97 kB / 1.264 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/1.102, allocations: 1.093 MB / 1.265 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/1.102, allocations: 8 kB / 1.265 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/1.102, allocations: 4 kB / 1.265 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/1.102, allocations: 11.86 kB / 1.265 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003656/1.105, allocations: 2.003 MB / 1.267 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.105, allocations: 7.938 kB / 1.267 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006277/1.106, allocations: 155.8 kB / 1.267 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004504/1.106, allocations: 64.8 kB / 1.267 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.436e-05/1.106, allocations: 31.97 kB / 1.267 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/1.108, allocations: 1.658 MB / 1.269 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.108, allocations: 3.984 kB / 1.269 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/1.111, allocations: 1.021 MB / 1.27 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00043/1.111, allocations: 279.7 kB / 1.27 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/1.111, allocations: 20 kB / 1.27 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/1.112, allocations: 59.94 kB / 1.27 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/1.112, allocations: 76.89 kB / 1.271 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.18e-05/1.112, allocations: 35.97 kB / 1.271 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006253/1.113, allocations: 471 kB / 1.271 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.113, allocations: 0 / 1.271 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009494/1.114, allocations: 323.1 kB / 1.271 GB, free: 1.828 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.0014/1.115, allocations: 0.6062 MB / 1.272 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001937/1.117, allocations: 0.8546 MB / 1.273 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.117, allocations: 0 / 1.273 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/1.118, allocations: 0.5355 MB / 1.273 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/1.12, allocations: 299.8 kB / 1.274 GB, free: 15.71 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/1.124, allocations: 1.851 MB / 1.275 GB, free: 13.83 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006486/1.125, allocations: 1.039 MB / 1.276 GB, free: 12.76 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004118/1.125, allocations: 123.4 kB / 1.276 GB, free: 12.64 MB / 1.014 GB Notification: Performance of SimCode: time 1.263e-06/1.125, allocations: 0 / 1.276 GB, free: 12.64 MB / 1.014 GB Notification: Performance of Templates: time 0.0272/1.152, allocations: 19.2 MB / 1.295 GB, free: 9.477 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches