Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001699/0.001699, allocations: 110 kB / 18.93 MB, free: 2.945 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.002243/0.002243, allocations: 192.7 kB / 22.23 MB, free: 5.16 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.543/1.543, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.844/2.844, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 67.91 kB / 1.061 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 160.8 MB / 1.218 GB, free: 3.672 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003136/1.033, allocations: 1.633 MB / 1.22 GB, free: 2.395 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001065/1.034, allocations: 0.5476 MB / 1.221 GB, free: 1.961 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.813e-05/1.034, allocations: 0 / 1.221 GB, free: 1.961 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.703e-05/1.034, allocations: 9.438 kB / 1.221 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000281/1.034, allocations: 42.58 kB / 1.221 GB, free: 1.922 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000135/1.034, allocations: 47.69 kB / 1.221 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/1.035, allocations: 107.7 kB / 1.221 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/1.035, allocations: 17.47 kB / 1.221 GB, free: 1.812 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/1.035, allocations: 52.5 kB / 1.221 GB, free: 1.781 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/1.035, allocations: 52.66 kB / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/1.035, allocations: 12.22 kB / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.466e-05/1.035, allocations: 7.938 kB / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/1.035, allocations: 23.62 kB / 1.221 GB, free: 1.723 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.779e-05/1.035, allocations: 40.67 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/1.035, allocations: 90.31 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.035, allocations: 1.188 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/1.035, allocations: 0 / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.831e-06/1.035, allocations: 0 / 1.221 GB, free: 1.637 MB / 0.92 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.000833/1.036, allocations: 408.3 kB / 1.221 GB, free: 1.227 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.036, allocations: 9 kB / 1.221 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/1.036, allocations: 9.109 kB / 1.221 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/1.036, allocations: 186.8 kB / 1.222 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/1.036, allocations: 7.312 kB / 1.222 GB, free: 1.004 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/1.037, allocations: 9.719 kB / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/1.037, allocations: 85.11 kB / 1.222 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.037, allocations: 0.9375 kB / 1.222 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/1.037, allocations: 7.984 kB / 1.222 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.037, allocations: 1.812 kB / 1.222 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/1.037, allocations: 49.34 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/1.037, allocations: 344.6 kB / 1.222 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/1.038, allocations: 98.11 kB / 1.222 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.002e-05/1.038, allocations: 42.58 kB / 1.222 GB, free: 476 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/1.038, allocations: 5.062 kB / 1.222 GB, free: 472 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/1.038, allocations: 96.98 kB / 1.222 GB, free: 388 kB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/1.038, allocations: 0 / 1.222 GB, free: 388 kB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0003719/1.039, allocations: 154.3 kB / 1.223 GB, free: 292 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/1.039, allocations: 53.59 kB / 1.223 GB, free: 228 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/1.039, allocations: 122.2 kB / 1.223 GB, free: 112 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/1.039, allocations: 30.8 kB / 1.223 GB, free: 76 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.391e-05/1.039, allocations: 103.5 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/1.039, allocations: 37.02 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/1.039, allocations: 28.83 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.039, allocations: 320.8 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.077e-05/1.039, allocations: 26.58 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/1.039, allocations: 27.17 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/1.039, allocations: 64.03 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.039, allocations: 4 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001914/1.039, allocations: 114.5 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.04, allocations: 5.719 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/1.04, allocations: 0 / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/1.04, allocations: 1.125 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/1.04, allocations: 22.17 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/1.04, allocations: 1.375 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/1.04, allocations: 16.61 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/1.04, allocations: 6.141 kB / 1.223 GB, free: 15.43 MB / 0.9356 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 0.000112/1.04, allocations: 127.2 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/1.04, allocations: 11.23 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003097/1.04, allocations: 148 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/1.04, allocations: 1.094 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.04, allocations: 1.062 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/1.04, allocations: 3.938 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/1.04, allocations: 216.4 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.04, allocations: 1.312 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.962e-05/1.041, allocations: 24.52 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/1.041, allocations: 1.125 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/1.041, allocations: 1.094 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/1.041, allocations: 5.031 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/1.041, allocations: 0 / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/1.041, allocations: 163.2 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/1.041, allocations: 88.48 kB / 1.224 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/1.041, allocations: 1 kB / 1.224 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/1.041, allocations: 12.38 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/1.041, allocations: 12.47 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/1.041, allocations: 12.28 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.644e-05/1.041, allocations: 98.11 kB / 1.224 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.041, allocations: 0.9375 kB / 1.224 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002158/1.041, allocations: 26.5 kB / 1.224 GB, free: 14.61 MB / 0.9356 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.0001373/1.042, allocations: 109 kB / 1.224 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002242/1.042, allocations: 86.88 kB / 1.225 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.042, allocations: 0 / 1.225 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/1.042, allocations: 46.2 kB / 1.225 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/1.042, allocations: 7.094 kB / 1.225 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/1.043, allocations: 213.8 kB / 1.225 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/1.043, allocations: 0.6994 MB / 1.226 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.689e-05/1.043, allocations: 17.53 kB / 1.226 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/1.043, allocations: 13.5 kB / 1.226 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/1.043, allocations: 1.125 kB / 1.226 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of Templates: time 0.004306/1.047, allocations: 1.161 MB / 1.227 GB, free: 12.95 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.565396619029343]