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.001339/0.001339, allocations: 115.5 kB / 17.08 MB, free: 5.988 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.001354/0.001354, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.41/1.41, allocations: 222.9 MB / 245.7 MB, free: 4.203 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.6/2.6, allocations: 437.1 MB / 0.7177 GB, free: 4.496 MB / 0.5606 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.001929/0.001929, allocations: 67.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3119, allocations: 151.6 MB / 1.176 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007666/0.3196, allocations: 5.14 MB / 1.181 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7663/1.086, allocations: 150.7 MB / 1.328 GB, free: 9.855 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007616/1.087, allocations: 16.72 kB / 1.328 GB, free: 9.852 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006043/1.087, allocations: 201.3 kB / 1.328 GB, free: 9.742 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/1.089, allocations: 0.5551 MB / 1.329 GB, free: 9.492 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/1.091, allocations: 0.8531 MB / 1.33 GB, free: 9.328 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001714/1.093, allocations: 1.434 MB / 1.331 GB, free: 9.055 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009343/1.094, allocations: 0.6581 MB / 1.332 GB, free: 8.879 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007817/1.094, allocations: 0.5065 MB / 1.332 GB, free: 8.773 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000704/1.095, allocations: 0.5423 MB / 1.333 GB, free: 8.617 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001907/1.095, allocations: 125.7 kB / 1.333 GB, free: 8.617 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/1.096, allocations: 496.2 kB / 1.333 GB, free: 8.5 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003422/1.097, allocations: 317.9 kB / 1.334 GB, free: 8.297 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006431/1.097, allocations: 0.6016 MB / 1.334 GB, free: 7.898 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002553/1.1, allocations: 1.744 MB / 1.336 GB, free: 7.156 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.1, allocations: 0 / 1.336 GB, free: 7.156 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.914e-06/1.1, allocations: 0 / 1.336 GB, free: 7.156 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.17e-05/1.1, allocations: 1.125 kB / 1.336 GB, free: 7.156 MB / 1.014 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.003196/1.103, allocations: 1.531 MB / 1.337 GB, free: 6.117 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/1.103, allocations: 9.375 kB / 1.337 GB, free: 6.117 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/1.105, allocations: 226.5 kB / 1.338 GB, free: 6.039 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/1.106, allocations: 0.7879 MB / 1.338 GB, free: 5.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.974e-05/1.106, allocations: 70.14 kB / 1.338 GB, free: 5.492 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/1.106, allocations: 96.06 kB / 1.338 GB, free: 5.457 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/1.108, allocations: 1.009 MB / 1.339 GB, free: 5.008 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/1.108, allocations: 1.781 kB / 1.339 GB, free: 5.008 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.627e-05/1.108, allocations: 36.94 kB / 1.339 GB, free: 4.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/1.108, allocations: 23.03 kB / 1.34 GB, free: 4.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/1.11, allocations: 1.174 MB / 1.341 GB, free: 4.707 MB / 1.014 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.004698/1.115, allocations: 2.867 MB / 1.343 GB, free: 2.988 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/1.118, allocations: 0.9888 MB / 1.344 GB, free: 2.562 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006004/1.118, allocations: 311.9 kB / 1.345 GB, free: 2.441 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.006e-05/1.118, allocations: 28.25 kB / 1.345 GB, free: 2.434 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009093/1.119, allocations: 0.5039 MB / 1.345 GB, free: 2.227 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.405e-06/1.119, allocations: 0 / 1.345 GB, free: 2.227 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003431/1.123, allocations: 1.23 MB / 1.346 GB, free: 1.719 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/1.123, allocations: 196.4 kB / 1.347 GB, free: 1.496 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009108/1.124, allocations: 0.647 MB / 1.347 GB, free: 1.211 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.364e-05/1.124, allocations: 41.73 kB / 1.347 GB, free: 1.168 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/1.124, allocations: 427.6 kB / 1.348 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/1.124, allocations: 277.8 kB / 1.348 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/1.125, allocations: 169.4 kB / 1.348 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002183/1.125, allocations: 387 kB / 1.349 GB, free: 200 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005963/1.126, allocations: 277.1 kB / 1.349 GB, free: 104 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007095/1.126, allocations: 376.6 kB / 1.349 GB, free: 15.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/1.128, allocations: 0.6313 MB / 1.35 GB, free: 15.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/1.128, allocations: 0 / 1.35 GB, free: 15.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002223/1.13, allocations: 0.8707 MB / 1.351 GB, free: 15.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.13, allocations: 10.09 kB / 1.351 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.13, allocations: 1.406 kB / 1.351 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005878/1.13, allocations: 82.2 kB / 1.351 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/1.131, allocations: 179.2 kB / 1.351 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/1.133, allocations: 1.624 MB / 1.352 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008991/1.134, allocations: 105.4 kB / 1.353 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.271e-05/1.134, allocations: 33.95 kB / 1.353 GB, free: 13.66 MB / 1.029 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.000549/1.135, allocations: 277.8 kB / 1.353 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/1.135, allocations: 89.75 kB / 1.353 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/1.138, allocations: 1.096 MB / 1.354 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/1.138, allocations: 10.09 kB / 1.354 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/1.138, allocations: 0 / 1.354 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/1.138, allocations: 6.844 kB / 1.354 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003749/1.142, allocations: 2.001 MB / 1.356 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.142, allocations: 0 / 1.356 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000638/1.142, allocations: 161.4 kB / 1.356 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004519/1.143, allocations: 68.44 kB / 1.356 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-05/1.143, allocations: 30.91 kB / 1.356 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/1.145, allocations: 1.652 MB / 1.358 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.145, allocations: 0 / 1.358 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/1.147, allocations: 1.029 MB / 1.359 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004805/1.148, allocations: 281.3 kB / 1.359 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/1.148, allocations: 20.12 kB / 1.359 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006843/1.149, allocations: 62.2 kB / 1.359 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/1.149, allocations: 77.72 kB / 1.359 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.291e-05/1.149, allocations: 34.2 kB / 1.359 GB, free: 9.691 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006171/1.15, allocations: 464.5 kB / 1.36 GB, free: 9.488 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.1e-07/1.15, allocations: 3.938 kB / 1.36 GB, free: 9.484 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00106/1.151, allocations: 340.9 kB / 1.36 GB, free: 9.395 MB / 1.029 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.001936/1.153, allocations: 0.6146 MB / 1.361 GB, free: 9.141 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001938/1.154, allocations: 0.8535 MB / 1.361 GB, free: 8.789 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/1.155, allocations: 1.125 kB / 1.361 GB, free: 8.789 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009841/1.155, allocations: 0.5319 MB / 1.362 GB, free: 8.539 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/1.157, allocations: 302.4 kB / 1.362 GB, free: 8.445 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/1.16, allocations: 1.793 MB / 1.364 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007436/1.161, allocations: 1.042 MB / 1.365 GB, free: 6.766 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000403/1.161, allocations: 120.4 kB / 1.365 GB, free: 6.742 MB / 1.029 GB Notification: Performance of SimCode: time 7.22e-07/1.161, allocations: 0 / 1.365 GB, free: 6.742 MB / 1.029 GB Notification: Performance of Templates: time 0.02893/1.19, allocations: 19.43 MB / 1.384 GB, free: 12.5 MB / 1.045 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.855831029941328]