Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.001389/0.001389, allocations: 110.5 kB / 17.6 MB, free: 4.688 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.001432/0.001432, allocations: 190.8 kB / 20.78 MB, free: 1.512 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.493/1.493, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 71.88 kB / 1.136 GB, free: 12.4 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304/1.306, allocations: 173.6 MB / 1.305 GB, free: 33.44 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002234/1.308, allocations: 1.616 MB / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007502/1.309, allocations: 0.5581 MB / 1.308 GB, free: 31.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.779e-05/1.309, allocations: 2.875 kB / 1.308 GB, free: 31.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/1.309, allocations: 7.125 kB / 1.308 GB, free: 31.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002245/1.31, allocations: 38.48 kB / 1.308 GB, free: 31.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 9.591e-05/1.31, allocations: 39.06 kB / 1.308 GB, free: 31.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/1.31, allocations: 110.8 kB / 1.308 GB, free: 31.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/1.31, allocations: 24.12 kB / 1.308 GB, free: 31.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.802e-05/1.31, allocations: 43.19 kB / 1.308 GB, free: 31.81 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.34e-05/1.31, allocations: 55.97 kB / 1.308 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/1.31, allocations: 8.594 kB / 1.308 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.597e-05/1.31, allocations: 8.594 kB / 1.308 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/1.31, allocations: 17.58 kB / 1.308 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/1.31, allocations: 49.22 kB / 1.308 GB, free: 31.74 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/1.31, allocations: 95.42 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/1.31, allocations: 0 / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.185e-06/1.31, allocations: 2.375 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.99e-06/1.31, allocations: 0 / 1.308 GB, free: 31.71 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000605/1.311, allocations: 407.7 kB / 1.308 GB, free: 31.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/1.311, allocations: 8.5 kB / 1.308 GB, free: 31.32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/1.311, allocations: 10.3 kB / 1.308 GB, free: 31.31 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/1.311, allocations: 185.3 kB / 1.309 GB, free: 31.1 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/1.311, allocations: 7 kB / 1.309 GB, free: 31.1 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/1.311, allocations: 10.03 kB / 1.309 GB, free: 31.09 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/1.311, allocations: 88.72 kB / 1.309 GB, free: 31.04 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/1.311, allocations: 0 / 1.309 GB, free: 31.04 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/1.311, allocations: 0 / 1.309 GB, free: 31.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/1.311, allocations: 2.938 kB / 1.309 GB, free: 31.04 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.885e-05/1.311, allocations: 57.03 kB / 1.309 GB, free: 31.02 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/1.312, allocations: 345.7 kB / 1.309 GB, free: 30.71 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/1.312, allocations: 101.8 kB / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.479e-05/1.312, allocations: 36.89 kB / 1.309 GB, free: 30.64 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/1.312, allocations: 0 / 1.309 GB, free: 30.64 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/1.312, allocations: 109.5 kB / 1.309 GB, free: 30.56 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/1.312, allocations: 3.938 kB / 1.309 GB, free: 30.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0002861/1.313, allocations: 141.5 kB / 1.309 GB, free: 30.49 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/1.313, allocations: 54.25 kB / 1.31 GB, free: 30.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/1.313, allocations: 125.5 kB / 1.31 GB, free: 30.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/1.313, allocations: 25.7 kB / 1.31 GB, free: 30.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/1.313, allocations: 97.8 kB / 1.31 GB, free: 30.19 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/1.313, allocations: 34.09 kB / 1.31 GB, free: 30.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/1.313, allocations: 33.55 kB / 1.31 GB, free: 30.13 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.072e-05/1.313, allocations: 318.1 kB / 1.31 GB, free: 29.81 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.595e-05/1.313, allocations: 34.23 kB / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.702e-05/1.313, allocations: 28.64 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.582e-05/1.313, allocations: 67.86 kB / 1.31 GB, free: 29.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.313, allocations: 0 / 1.31 GB, free: 29.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001488/1.313, allocations: 113.8 kB / 1.31 GB, free: 29.69 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/1.313, allocations: 2.938 kB / 1.31 GB, free: 29.69 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/1.313, allocations: 3 kB / 1.31 GB, free: 29.69 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/1.313, allocations: 4 kB / 1.31 GB, free: 29.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/1.313, allocations: 17.97 kB / 1.31 GB, free: 29.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/1.313, allocations: 0 / 1.31 GB, free: 29.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/1.313, allocations: 20.64 kB / 1.31 GB, free: 29.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/1.313, allocations: 2.719 kB / 1.31 GB, free: 29.68 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/1.314, allocations: 119 kB / 1.311 GB, free: 29.56 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/1.314, allocations: 14.08 kB / 1.311 GB, free: 29.55 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/1.314, allocations: 147.1 kB / 1.311 GB, free: 29.47 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.314, allocations: 0 / 1.311 GB, free: 29.47 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.314, allocations: 7.062 kB / 1.311 GB, free: 29.47 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/1.314, allocations: 3.938 kB / 1.311 GB, free: 29.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/1.314, allocations: 215.2 kB / 1.311 GB, free: 29.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.314, allocations: 3.938 kB / 1.311 GB, free: 29.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.623e-05/1.314, allocations: 17.31 kB / 1.311 GB, free: 29.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/1.314, allocations: 0 / 1.311 GB, free: 29.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/1.314, allocations: 2.906 kB / 1.311 GB, free: 29.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.314, allocations: 0 / 1.311 GB, free: 29.24 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.314, allocations: 0 / 1.311 GB, free: 29.24 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/1.314, allocations: 173.2 kB / 1.311 GB, free: 29.13 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/1.314, allocations: 87.17 kB / 1.311 GB, free: 29.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/1.314, allocations: 0 / 1.311 GB, free: 29.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/1.314, allocations: 12.53 kB / 1.311 GB, free: 29.03 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/1.314, allocations: 16.89 kB / 1.311 GB, free: 29.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/1.314, allocations: 2.844 kB / 1.311 GB, free: 29.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.164e-05/1.314, allocations: 101.9 kB / 1.311 GB, free: 28.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.314, allocations: 4 kB / 1.311 GB, free: 28.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000211/1.315, allocations: 28.53 kB / 1.311 GB, free: 28.92 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001285/1.315, allocations: 105.4 kB / 1.311 GB, free: 28.83 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002164/1.315, allocations: 78.25 kB / 1.312 GB, free: 28.81 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/1.315, allocations: 0 / 1.312 GB, free: 28.81 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.663e-05/1.315, allocations: 44.08 kB / 1.312 GB, free: 28.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/1.315, allocations: 8.016 kB / 1.312 GB, free: 28.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/1.316, allocations: 225.8 kB / 1.312 GB, free: 28.63 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/1.316, allocations: 0.6994 MB / 1.312 GB, free: 27.93 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.101e-05/1.316, allocations: 13.2 kB / 1.312 GB, free: 27.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/1.316, allocations: 20.58 kB / 1.312 GB, free: 27.91 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/1.316, allocations: 0 / 1.312 GB, free: 27.91 MB / 1.061 GB Notification: Performance of Templates: time 0.003996/1.32, allocations: 1.14 MB / 1.314 GB, free: 27.79 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.857173996046185]