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.001782/0.001782, 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.00203/0.00203, 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.483/1.483, 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 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 3.07/3.07, allocations: 476.7 MB / 0.7629 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 176] 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.001977/0.001977, allocations: 67.89 kB / 1.107 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086/1.088, allocations: 168.7 MB / 1.272 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006896/1.094, allocations: 5.18 MB / 1.277 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2081/1.303, allocations: 151.2 MB / 1.425 GB, free: 3.715 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/1.304, allocations: 16.06 kB / 1.425 GB, free: 3.711 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/1.305, allocations: 204 kB / 1.425 GB, free: 3.531 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003085/1.308, allocations: 0.5677 MB / 1.425 GB, free: 3.102 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002963/1.311, allocations: 0.8733 MB / 1.426 GB, free: 2.434 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002617/1.314, allocations: 1.444 MB / 1.428 GB, free: 1.535 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/1.315, allocations: 467.4 kB / 1.428 GB, free: 1.195 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/1.316, allocations: 0.5121 MB / 1.429 GB, free: 0.8867 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/1.318, allocations: 0.5503 MB / 1.429 GB, free: 0.4922 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004957/1.318, allocations: 134 kB / 1.429 GB, free: 496 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/1.32, allocations: 494.3 kB / 1.43 GB, free: 312 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005801/1.321, allocations: 312.2 kB / 1.43 GB, free: 60 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001472/1.322, allocations: 0.6132 MB / 1.431 GB, free: 15.61 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003763/1.326, allocations: 1.733 MB / 1.432 GB, free: 14.36 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/1.326, allocations: 5.125 kB / 1.432 GB, free: 14.35 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.483e-06/1.326, allocations: 0 / 1.432 GB, free: 14.35 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.42e-05/1.326, allocations: 0 / 1.432 GB, free: 14.35 MB / 1.123 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.004198/1.33, allocations: 1.533 MB / 1.434 GB, free: 13.14 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.33, allocations: 9.5 kB / 1.434 GB, free: 13.14 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/1.332, allocations: 218.2 kB / 1.434 GB, free: 13.03 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/1.333, allocations: 0.7853 MB / 1.435 GB, free: 12.39 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/1.333, allocations: 72.48 kB / 1.435 GB, free: 12.36 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/1.333, allocations: 96.44 kB / 1.435 GB, free: 12.32 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/1.335, allocations: 1.01 MB / 1.436 GB, free: 11.68 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/1.335, allocations: 1.562 kB / 1.436 GB, free: 11.68 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.386e-05/1.335, allocations: 40 kB / 1.436 GB, free: 11.65 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/1.335, allocations: 23.44 kB / 1.436 GB, free: 11.65 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/1.337, allocations: 1.173 MB / 1.437 GB, free: 11.09 MB / 1.123 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.005177/1.343, allocations: 2.866 MB / 1.44 GB, free: 8.301 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/1.345, allocations: 0.9269 MB / 1.441 GB, free: 7.355 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005788/1.346, allocations: 282.7 kB / 1.441 GB, free: 7.074 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.74e-05/1.346, allocations: 36.59 kB / 1.441 GB, free: 7.039 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009167/1.347, allocations: 0.5009 MB / 1.442 GB, free: 6.52 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 2.184e-06/1.347, allocations: 0 / 1.442 GB, free: 6.52 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.003438/1.35, allocations: 1.229 MB / 1.443 GB, free: 5.262 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/1.35, allocations: 192.5 kB / 1.443 GB, free: 5.031 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009186/1.351, allocations: 0.6488 MB / 1.444 GB, free: 4.379 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.649e-05/1.351, allocations: 41.7 kB / 1.444 GB, free: 4.332 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/1.352, allocations: 433 kB / 1.444 GB, free: 3.902 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/1.352, allocations: 277.6 kB / 1.444 GB, free: 3.629 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/1.352, allocations: 166.6 kB / 1.445 GB, free: 3.461 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002113/1.352, allocations: 386.7 kB / 1.445 GB, free: 3.074 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005892/1.353, allocations: 285.8 kB / 1.445 GB, free: 2.797 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007203/1.354, allocations: 371.1 kB / 1.446 GB, free: 2.418 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/1.355, allocations: 0.6229 MB / 1.446 GB, free: 1.785 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.355, allocations: 3.938 kB / 1.446 GB, free: 1.781 MB / 1.123 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002148/1.357, allocations: 0.8765 MB / 1.447 GB, free: 0.8945 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/1.357, allocations: 7.984 kB / 1.447 GB, free: 0.8867 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.357, allocations: 4 kB / 1.447 GB, free: 0.8828 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/1.358, allocations: 84.81 kB / 1.447 GB, free: 0.7969 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007027/1.358, allocations: 163.8 kB / 1.447 GB, free: 0.6367 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/1.361, allocations: 1.623 MB / 1.449 GB, free: 14.87 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/1.362, allocations: 109.3 kB / 1.449 GB, free: 14.76 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/1.362, allocations: 39.97 kB / 1.449 GB, free: 14.72 MB / 1.139 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.0005644/1.362, allocations: 275.9 kB / 1.449 GB, free: 14.44 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/1.363, allocations: 87.44 kB / 1.449 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/1.365, allocations: 1.105 MB / 1.45 GB, free: 13.23 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/1.365, allocations: 8 kB / 1.45 GB, free: 13.22 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/1.365, allocations: 0 / 1.45 GB, free: 13.22 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.365, allocations: 3.984 kB / 1.45 GB, free: 13.22 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/1.369, allocations: 1.997 MB / 1.452 GB, free: 11.16 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.369, allocations: 0 / 1.452 GB, free: 11.16 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006371/1.37, allocations: 151.8 kB / 1.453 GB, free: 11.01 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004531/1.37, allocations: 72.78 kB / 1.453 GB, free: 10.94 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.349e-05/1.37, allocations: 23.98 kB / 1.453 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/1.373, allocations: 1.666 MB / 1.454 GB, free: 9.105 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.373, allocations: 0 / 1.454 GB, free: 9.105 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/1.375, allocations: 1.022 MB / 1.455 GB, free: 8.066 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/1.376, allocations: 284.1 kB / 1.456 GB, free: 7.77 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/1.376, allocations: 16 kB / 1.456 GB, free: 7.754 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006972/1.376, allocations: 67.92 kB / 1.456 GB, free: 7.688 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/1.377, allocations: 72.84 kB / 1.456 GB, free: 7.617 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.293e-05/1.377, allocations: 43.91 kB / 1.456 GB, free: 7.574 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007201/1.377, allocations: 471 kB / 1.456 GB, free: 7.117 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.377, allocations: 0 / 1.456 GB, free: 7.117 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001132/1.379, allocations: 351 kB / 1.457 GB, free: 6.773 MB / 1.139 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.002011/1.381, allocations: 0.6049 MB / 1.457 GB, free: 6.344 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002011/1.383, allocations: 0.8234 MB / 1.458 GB, free: 5.504 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.383, allocations: 0 / 1.458 GB, free: 5.504 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/1.384, allocations: 0.4965 MB / 1.458 GB, free: 4.996 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/1.385, allocations: 307.9 kB / 1.459 GB, free: 4.723 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/1.388, allocations: 1.757 MB / 1.46 GB, free: 2.938 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007633/1.389, allocations: 1.043 MB / 1.461 GB, free: 1.863 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009082/1.39, allocations: 278.8 kB / 1.462 GB, free: 1.586 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/1.39, allocations: 111.4 kB / 1.462 GB, free: 1.477 MB / 1.139 GB Notification: Performance of SimCode: time 6.51e-07/1.39, allocations: 3.938 kB / 1.462 GB, free: 1.473 MB / 1.139 GB Notification: Performance of Templates: time 0.02937/1.42, allocations: 16.05 MB / 1.478 GB, free: 1.602 MB / 1.154 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.418223271146417]