Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001314/0.001314, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001349/0.001349, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.513/1.513, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.649/2.649, allocations: 443.5 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 67.89 kB / 1.059 GB, free: 392 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4466, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.008913/0.4555, allocations: 5.203 MB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.857/1.313, allocations: 151.2 MB / 1.369 GB, free: 1.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000927/1.314, allocations: 19.81 kB / 1.369 GB, free: 1.922 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006794/1.314, allocations: 202.6 kB / 1.369 GB, free: 1.793 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001893/1.316, allocations: 0.5659 MB / 1.37 GB, free: 1.465 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002343/1.318, allocations: 0.8748 MB / 1.37 GB, free: 1.016 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00201/1.32, allocations: 1.437 MB / 1.372 GB, free: 280 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009123/1.321, allocations: 466.5 kB / 1.372 GB, free: 15.99 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009678/1.322, allocations: 0.5098 MB / 1.373 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000722/1.323, allocations: 0.5561 MB / 1.373 GB, free: 15.44 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001778/1.323, allocations: 125.7 kB / 1.373 GB, free: 15.44 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/1.324, allocations: 499 kB / 1.374 GB, free: 15.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003508/1.325, allocations: 313.4 kB / 1.374 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007333/1.326, allocations: 0.6071 MB / 1.375 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002875/1.328, allocations: 1.745 MB / 1.377 GB, free: 13.97 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.328, allocations: 1.312 kB / 1.377 GB, free: 13.97 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.944e-06/1.328, allocations: 0 / 1.377 GB, free: 13.97 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.614e-05/1.328, allocations: 0 / 1.377 GB, free: 13.97 MB / 1.061 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.003349/1.332, allocations: 1.522 MB / 1.378 GB, free: 12.94 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/1.332, allocations: 9.531 kB / 1.378 GB, free: 12.94 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/1.333, allocations: 222.9 kB / 1.378 GB, free: 12.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/1.334, allocations: 0.7878 MB / 1.379 GB, free: 12.35 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/1.335, allocations: 71.38 kB / 1.379 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/1.335, allocations: 92.66 kB / 1.379 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/1.337, allocations: 1.011 MB / 1.38 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/1.337, allocations: 0 / 1.38 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.866e-05/1.337, allocations: 37.56 kB / 1.38 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-05/1.337, allocations: 23.06 kB / 1.38 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/1.339, allocations: 1.176 MB / 1.381 GB, free: 11.41 MB / 1.061 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.005079/1.344, allocations: 2.873 MB / 1.384 GB, free: 9.113 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/1.347, allocations: 0.9242 MB / 1.385 GB, free: 8.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006525/1.348, allocations: 280.9 kB / 1.385 GB, free: 8.445 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/1.348, allocations: 40.12 kB / 1.385 GB, free: 8.422 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/1.349, allocations: 0.495 MB / 1.386 GB, free: 8.105 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 2.224e-06/1.349, allocations: 0 / 1.386 GB, free: 8.105 MB / 1.061 GB Notification: Performance of matching and sorting (n=82): time 0.003662/1.352, allocations: 1.232 MB / 1.387 GB, free: 7.438 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/1.353, allocations: 189.4 kB / 1.387 GB, free: 7.219 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/1.354, allocations: 0.6502 MB / 1.388 GB, free: 6.836 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.762e-05/1.354, allocations: 42.08 kB / 1.388 GB, free: 6.793 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/1.354, allocations: 424.8 kB / 1.388 GB, free: 6.422 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/1.354, allocations: 279.9 kB / 1.389 GB, free: 6.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/1.355, allocations: 167.3 kB / 1.389 GB, free: 6.078 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002364/1.355, allocations: 394.1 kB / 1.389 GB, free: 5.703 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005958/1.356, allocations: 280.9 kB / 1.389 GB, free: 5.566 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006986/1.356, allocations: 369.7 kB / 1.39 GB, free: 5.355 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/1.357, allocations: 0.6208 MB / 1.39 GB, free: 5.023 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.357, allocations: 0 / 1.39 GB, free: 5.023 MB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002196/1.36, allocations: 0.8809 MB / 1.391 GB, free: 4.566 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.36, allocations: 9.969 kB / 1.391 GB, free: 4.562 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/1.36, allocations: 4.438 kB / 1.391 GB, free: 4.559 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006089/1.36, allocations: 80.44 kB / 1.391 GB, free: 4.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000706/1.361, allocations: 168 kB / 1.391 GB, free: 4.477 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/1.363, allocations: 1.629 MB / 1.393 GB, free: 2.879 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008778/1.364, allocations: 96.12 kB / 1.393 GB, free: 2.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.004e-05/1.364, allocations: 39.25 kB / 1.393 GB, free: 2.805 MB / 1.061 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.0005504/1.365, allocations: 284 kB / 1.393 GB, free: 2.578 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/1.365, allocations: 91.25 kB / 1.394 GB, free: 2.527 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/1.368, allocations: 1.093 MB / 1.395 GB, free: 1.918 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.368, allocations: 9.219 kB / 1.395 GB, free: 1.918 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/1.368, allocations: 2.312 kB / 1.395 GB, free: 1.918 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/1.368, allocations: 7.984 kB / 1.395 GB, free: 1.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003566/1.371, allocations: 2.004 MB / 1.397 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.371, allocations: 0 / 1.397 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005726/1.372, allocations: 147.6 kB / 1.397 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004325/1.372, allocations: 77.94 kB / 1.397 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/1.372, allocations: 25.36 kB / 1.397 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/1.374, allocations: 1.668 MB / 1.398 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.374, allocations: 0 / 1.398 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/1.377, allocations: 1.02 MB / 1.399 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000436/1.377, allocations: 282.1 kB / 1.4 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/1.377, allocations: 16.66 kB / 1.4 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006538/1.378, allocations: 71.23 kB / 1.4 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/1.378, allocations: 70.95 kB / 1.4 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.335e-05/1.378, allocations: 36.48 kB / 1.4 GB, free: 13.95 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006137/1.379, allocations: 468.2 kB / 1.4 GB, free: 13.68 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.379, allocations: 0 / 1.4 GB, free: 13.68 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001011/1.38, allocations: 345.7 kB / 1.401 GB, free: 13.58 MB / 1.076 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.00191/1.382, allocations: 0.6127 MB / 1.401 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001757/1.383, allocations: 0.835 MB / 1.402 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.383, allocations: 0 / 1.402 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009245/1.384, allocations: 497.6 kB / 1.403 GB, free: 12.56 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/1.385, allocations: 310.6 kB / 1.403 GB, free: 12.41 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/1.389, allocations: 1.757 MB / 1.405 GB, free: 11.36 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/1.389, allocations: 1.044 MB / 1.406 GB, free: 10.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007955/1.39, allocations: 268.2 kB / 1.406 GB, free: 10.37 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/1.39, allocations: 108.9 kB / 1.406 GB, free: 10.34 MB / 1.076 GB Notification: Performance of SimCode: time 7.12e-07/1.39, allocations: 0 / 1.406 GB, free: 10.34 MB / 1.076 GB Notification: Performance of Templates: time 0.03109/1.421, allocations: 16.07 MB / 1.422 GB, free: 12.75 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.191896287724376]