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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007963/0.0007963, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000796/0.000796, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8874/0.8874, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.795/1.795, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.994e-06/1.994e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.275e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002214/0.002247, allocations: 1.596 MB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007424/0.002989, allocations: 0.557 MB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.003041, allocations: 0 / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.003073, allocations: 7.875 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.003318, allocations: 39.7 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.003459, allocations: 55.8 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.003575, allocations: 123.5 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.003686, allocations: 12.22 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.003855, allocations: 87.8 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.044e-05/0.003945, allocations: 39.88 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.003966, allocations: 12 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.017e-05/0.004016, allocations: 19.98 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.004037, allocations: 19.92 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.732e-05/0.004085, allocations: 39.89 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.004244, allocations: 119.6 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.004247, allocations: 0 / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.283e-06/0.004248, allocations: 0 / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.004252, allocations: 7.938 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005501/0.004802, allocations: 337.9 kB / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.00484, allocations: 13.34 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.004961, allocations: 16.88 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.005063, allocations: 125.7 kB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.005082, allocations: 8.375 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.005098, allocations: 8.375 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.005236, allocations: 98.09 kB / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.005244, allocations: 4.188 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.005256, allocations: 4.375 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.005261, allocations: 7.875 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.511e-05/0.005346, allocations: 51.97 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.005785, allocations: 284.4 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.006012, allocations: 126.6 kB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.97e-05/0.006072, allocations: 44.83 kB / 1.005 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.006089, allocations: 4 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.006284, allocations: 107.3 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 1.904e-06/0.006286, allocations: 0 / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0003049/0.006591, allocations: 161.5 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.006639, allocations: 63.33 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/0.006731, allocations: 121.8 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.006751, allocations: 33.7 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.006805, allocations: 100.1 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.006846, allocations: 43.61 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.006893, allocations: 37.7 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.006988, allocations: 314.8 kB / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.762e-05/0.007046, allocations: 39.97 kB / 1.006 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-05/0.007095, allocations: 39.98 kB / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.007211, allocations: 92.44 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.007216, allocations: 3.938 kB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000176/0.007392, allocations: 133.6 kB / 1.006 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.00741, allocations: 4 kB / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.007418, allocations: 4 kB / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.007436, allocations: 0 / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.163e-05/0.007528, allocations: 23.92 kB / 1.006 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.007536, allocations: 0 / 1.006 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/0.007602, allocations: 11.98 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.007621, allocations: 8 kB / 1.006 GB, free: 7.637 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (eqnTim.k,$PRE.eqnTim.k,eqnTim.tNext,$PRE.eqnTim.tNext,locTim.k,$PRE.locTim.k,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 (18): * Single equations (assignments): 18 * 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.0001138/0.007735, allocations: 128 kB / 1.006 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.007751, allocations: 11.94 kB / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.008, allocations: 163.8 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.008004, allocations: 7.938 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.008011, allocations: 0 / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.008015, allocations: 0 / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.008428, allocations: 394 kB / 1.007 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.00843, allocations: 4 kB / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.008486, allocations: 19.94 kB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.008488, allocations: 0 / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.008503, allocations: 7.984 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.008506, allocations: 0 / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.008508, allocations: 4 kB / 1.007 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.008731, allocations: 252.5 kB / 1.007 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.008749, allocations: 7.953 kB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.008771, allocations: 3.984 kB / 1.007 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.008846, allocations: 8 kB / 1.007 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.008906, allocations: 23.97 kB / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.008915, allocations: 8 kB / 1.007 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.013e-05/0.008965, allocations: 91.27 kB / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008965, allocations: 4 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001852/0.009151, allocations: 27.94 kB / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,locTim.tNext,locTim.k,eqnTim.tNext,eqnTim.k) * Number of discrete states: 4 (locTim.tNext,eqnTim.tNext,eqnTim.k,locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001627/0.009313, allocations: 111.1 kB / 1.007 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.009556, allocations: 102 kB / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.009559, allocations: 0 / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.945e-05/0.009638, allocations: 47.97 kB / 1.007 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.009861, allocations: 14.06 kB / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.01042, allocations: 262.2 kB / 1.008 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.031e-05/0.01051, allocations: 85.45 kB / 1.008 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.01057, allocations: 16.48 kB / 1.008 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of SimCode: time 1.563e-06/0.01057, allocations: 0 / 1.008 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of Templates: time 0.002688/0.01326, allocations: 1.421 MB / 1.009 GB, free: 4.324 MB / 0.9636 GB " [Timeout remaining time 300] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 800] 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: 6.528493070974946]