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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002118/0.002118, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.861/2.861, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 67.89 kB / 1.109 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7152/0.7171, allocations: 168.7 MB / 1.274 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007625/0.7248, allocations: 5.176 MB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1754/0.9002, allocations: 151.2 MB / 1.427 GB, free: 7.555 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008205/0.901, allocations: 19.88 kB / 1.427 GB, free: 7.535 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006149/0.9016, allocations: 210.1 kB / 1.427 GB, free: 7.328 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.9033, allocations: 0.5643 MB / 1.428 GB, free: 6.766 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.9052, allocations: 0.8802 MB / 1.428 GB, free: 5.891 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001487/0.9067, allocations: 1.44 MB / 1.43 GB, free: 4.445 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007528/0.9075, allocations: 468 kB / 1.43 GB, free: 3.965 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006143/0.9081, allocations: 0.51 MB / 1.431 GB, free: 3.453 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006868/0.9088, allocations: 0.5445 MB / 1.431 GB, free: 2.906 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.909, allocations: 128 kB / 1.431 GB, free: 2.781 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008304/0.9098, allocations: 0.4956 MB / 1.432 GB, free: 2.285 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003026/0.9101, allocations: 315 kB / 1.432 GB, free: 1.977 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005453/0.9106, allocations: 0.5986 MB / 1.433 GB, free: 1.375 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.9126, allocations: 1.747 MB / 1.434 GB, free: 15.62 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.496e-05/0.9126, allocations: 3.984 kB / 1.434 GB, free: 15.62 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9126, allocations: 0 / 1.434 GB, free: 15.62 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.9127, allocations: 0 / 1.434 GB, free: 15.62 MB / 1.139 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.002778/0.9154, allocations: 1.529 MB / 1.436 GB, free: 14.03 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.9155, allocations: 12.03 kB / 1.436 GB, free: 14.02 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.9166, allocations: 216 kB / 1.436 GB, free: 13.8 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.9178, allocations: 0.7856 MB / 1.437 GB, free: 12.98 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.844e-05/0.9179, allocations: 74 kB / 1.437 GB, free: 12.91 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.918, allocations: 88 kB / 1.437 GB, free: 12.82 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.9198, allocations: 1.015 MB / 1.438 GB, free: 11.77 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.9198, allocations: 0 / 1.438 GB, free: 11.77 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.609e-05/0.9199, allocations: 43.94 kB / 1.438 GB, free: 11.72 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.92, allocations: 24 kB / 1.438 GB, free: 11.7 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002147/0.9221, allocations: 1.171 MB / 1.439 GB, free: 10.53 MB / 1.139 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.004674/0.9268, allocations: 2.868 MB / 1.442 GB, free: 7.535 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/0.9293, allocations: 0.9229 MB / 1.443 GB, free: 6.594 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006308/0.93, allocations: 286.7 kB / 1.443 GB, free: 6.309 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.742e-05/0.9301, allocations: 32.59 kB / 1.443 GB, free: 6.277 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.9311, allocations: 0.497 MB / 1.444 GB, free: 5.762 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 2.504e-06/0.9311, allocations: 0 / 1.444 GB, free: 5.762 MB / 1.139 GB Notification: Performance of matching and sorting (n=82): time 0.003497/0.9346, allocations: 1.233 MB / 1.445 GB, free: 4.5 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.9347, allocations: 196.5 kB / 1.445 GB, free: 4.266 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008414/0.9355, allocations: 0.641 MB / 1.446 GB, free: 3.617 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.513e-05/0.9356, allocations: 45.7 kB / 1.446 GB, free: 3.566 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.936, allocations: 425 kB / 1.446 GB, free: 3.145 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.9362, allocations: 281.6 kB / 1.447 GB, free: 2.867 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002796/0.9365, allocations: 170.5 kB / 1.447 GB, free: 2.691 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002165/0.9367, allocations: 390.8 kB / 1.447 GB, free: 2.301 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006126/0.9373, allocations: 281.8 kB / 1.447 GB, free: 2.027 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007238/0.9381, allocations: 371.1 kB / 1.448 GB, free: 1.652 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.9393, allocations: 0.6267 MB / 1.448 GB, free: 1.012 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.9393, allocations: 0 / 1.448 GB, free: 1.012 MB / 1.139 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002146/0.9415, allocations: 0.8842 MB / 1.449 GB, free: 124 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.9415, allocations: 8.094 kB / 1.449 GB, free: 116 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.9415, allocations: 0 / 1.449 GB, free: 116 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005941/0.9421, allocations: 76.78 kB / 1.449 GB, free: 36 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007464/0.9428, allocations: 175.7 kB / 1.449 GB, free: 15.86 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.9452, allocations: 1.63 MB / 1.451 GB, free: 14.09 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007568/0.9459, allocations: 101.3 kB / 1.451 GB, free: 13.99 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-05/0.946, allocations: 35.98 kB / 1.451 GB, free: 13.95 MB / 1.154 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.0004551/0.9465, allocations: 275.4 kB / 1.451 GB, free: 13.67 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.9466, allocations: 91.38 kB / 1.452 GB, free: 13.58 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/0.9493, allocations: 1.093 MB / 1.453 GB, free: 12.47 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.9493, allocations: 12 kB / 1.453 GB, free: 12.46 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.9493, allocations: 0 / 1.453 GB, free: 12.46 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.9493, allocations: 3.984 kB / 1.453 GB, free: 12.46 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003701/0.953, allocations: 2.005 MB / 1.455 GB, free: 10.39 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.953, allocations: 0 / 1.455 GB, free: 10.39 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006535/0.9536, allocations: 151.7 kB / 1.455 GB, free: 10.24 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004461/0.9541, allocations: 72.78 kB / 1.455 GB, free: 10.17 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.053e-05/0.9542, allocations: 27.97 kB / 1.455 GB, free: 10.14 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.9562, allocations: 1.654 MB / 1.456 GB, free: 8.34 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9562, allocations: 4.062 kB / 1.456 GB, free: 8.336 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.9584, allocations: 1.026 MB / 1.457 GB, free: 7.293 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/0.9588, allocations: 280.1 kB / 1.458 GB, free: 7 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.9589, allocations: 20 kB / 1.458 GB, free: 6.98 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007115/0.9597, allocations: 67.98 kB / 1.458 GB, free: 6.914 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.9598, allocations: 76.89 kB / 1.458 GB, free: 6.84 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/0.9599, allocations: 31.98 kB / 1.458 GB, free: 6.809 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006256/0.9605, allocations: 475 kB / 1.458 GB, free: 6.348 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9605, allocations: 3.938 kB / 1.458 GB, free: 6.344 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009197/0.9614, allocations: 343.1 kB / 1.459 GB, free: 6.008 MB / 1.154 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.001945/0.9634, allocations: 0.6098 MB / 1.459 GB, free: 5.582 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.9652, allocations: 0.8196 MB / 1.46 GB, free: 4.746 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9652, allocations: 4 kB / 1.46 GB, free: 4.742 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.9663, allocations: 0.4963 MB / 1.461 GB, free: 4.238 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.9675, allocations: 314.6 kB / 1.461 GB, free: 3.953 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003141/0.9707, allocations: 1.757 MB / 1.463 GB, free: 2.168 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/0.9714, allocations: 1.043 MB / 1.464 GB, free: 1.098 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007888/0.9722, allocations: 274.7 kB / 1.464 GB, free: 0.8242 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/0.9725, allocations: 115.4 kB / 1.464 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of SimCode: time 6.11e-07/0.9725, allocations: 0 / 1.464 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of Templates: time 0.02864/1.001, allocations: 16.04 MB / 1.48 GB, free: 0.8477 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (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 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.285061102826148]