Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.001592/0.001592, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001859/0.001859, allocations: 192.1 kB / 22.11 MB, free: 4.223 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.487/1.487, allocations: 225.6 MB / 250.8 MB, free: 2.898 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.799/2.799, allocations: 495.8 MB / 0.7831 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002868/0.002868, allocations: 67.89 kB / 1.137 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.025, allocations: 173.6 MB / 1.307 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.00307/1.028, allocations: 1.474 MB / 1.308 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005183/1.028, allocations: 188.6 kB / 1.308 GB, free: 15.76 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/1.028, allocations: 5.156 kB / 1.308 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/1.028, allocations: 1.219 kB / 1.308 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002376/1.028, allocations: 26.33 kB / 1.308 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/1.029, allocations: 58.8 kB / 1.308 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/1.029, allocations: 55.33 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.228e-05/1.029, allocations: 8.781 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.822e-05/1.029, allocations: 32.23 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.707e-05/1.029, allocations: 18.12 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/1.029, allocations: 4.312 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.554e-05/1.029, allocations: 5.062 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/1.029, allocations: 13.66 kB / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/1.029, allocations: 24.19 kB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/1.029, allocations: 49.53 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.029, allocations: 0 / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.637e-06/1.029, allocations: 0.75 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.631e-06/1.029, allocations: 0.75 kB / 1.309 GB, free: 15.62 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005912/1.03, allocations: 284.7 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/1.03, allocations: 9.531 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/1.03, allocations: 3.766 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/1.03, allocations: 115.1 kB / 1.309 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/1.03, allocations: 2.844 kB / 1.309 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/1.03, allocations: 2 kB / 1.309 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/1.03, allocations: 78.92 kB / 1.309 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/1.03, allocations: 4.891 kB / 1.309 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/1.03, allocations: 5.406 kB / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/1.03, allocations: 0 / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.24e-05/1.03, allocations: 15.69 kB / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/1.031, allocations: 249.5 kB / 1.309 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/1.031, allocations: 32.36 kB / 1.309 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/1.031, allocations: 20.27 kB / 1.309 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/1.031, allocations: 0.875 kB / 1.309 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/1.031, allocations: 68.25 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/1.031, allocations: 0 / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.000296/1.032, allocations: 74.11 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/1.032, allocations: 104.7 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/1.032, allocations: 103.8 kB / 1.31 GB, free: 14.49 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/1.032, allocations: 35.3 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/1.032, allocations: 83.05 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/1.032, allocations: 13.94 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/1.032, allocations: 17.61 kB / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001854/1.032, allocations: 325.3 kB / 1.31 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.297e-05/1.032, allocations: 11.19 kB / 1.31 GB, free: 14.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.026e-05/1.032, allocations: 35.41 kB / 1.31 GB, free: 13.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.951e-05/1.032, allocations: 34.56 kB / 1.31 GB, free: 13.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.032, allocations: 3.938 kB / 1.31 GB, free: 13.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001121/1.032, allocations: 67.64 kB / 1.31 GB, free: 13.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.032, allocations: 5.5 kB / 1.31 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.032, allocations: 0 / 1.31 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/1.032, allocations: 0.8438 kB / 1.31 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/1.033, allocations: 7.312 kB / 1.31 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/1.033, allocations: 0.7969 kB / 1.31 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/1.033, allocations: 10.45 kB / 1.31 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/1.033, allocations: 1.406 kB / 1.31 GB, free: 13.91 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001168/1.033, allocations: 130.5 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/1.033, allocations: 3.016 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/1.033, allocations: 4.344 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.033, allocations: 1.281 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.033, allocations: 0.7969 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/1.033, allocations: 1.344 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/1.033, allocations: 148 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.033, allocations: 0 / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/1.033, allocations: 3.344 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/1.033, allocations: 4 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/1.033, allocations: 2.719 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.033, allocations: 0 / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.033, allocations: 1.312 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/1.033, allocations: 97.36 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/1.033, allocations: 10.48 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/1.033, allocations: 2.016 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/1.033, allocations: 13.17 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/1.033, allocations: 3.547 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/1.033, allocations: 6.953 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.294e-05/1.033, allocations: 85.28 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.033, allocations: 0 / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001938/1.034, allocations: 14.44 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001366/1.034, allocations: 99.36 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001318/1.034, allocations: 28.52 kB / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.034, allocations: 4 kB / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.814e-05/1.034, allocations: 18.7 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/1.034, allocations: 6.984 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/1.034, allocations: 133.8 kB / 1.311 GB, free: 13.17 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/1.035, allocations: 0.6796 MB / 1.312 GB, free: 12.47 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.907e-05/1.035, allocations: 5.641 kB / 1.312 GB, free: 12.47 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/1.035, allocations: 10.39 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/1.035, allocations: 5.312 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of Templates: time 0.004554/1.039, allocations: 0.9082 MB / 1.313 GB, free: 12.38 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.182397194206715]