Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.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.001212/0.001212, allocations: 106.8 kB / 17.08 MB, free: 5.82 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.001335/0.001335, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.449/1.449, allocations: 222.9 MB / 245.7 MB, free: 4.223 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.921/2.921, allocations: 489.3 MB / 0.7687 GB, free: 3.734 MB / 0.6075 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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.89 kB / 1.103 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9259/0.9278, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001778/0.9297, allocations: 0.5992 MB / 1.263 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 4.052e-05/0.9297, allocations: 4.203 kB / 1.263 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.11e-05/0.9297, allocations: 0 / 1.263 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.134e-05/0.9298, allocations: 0.8438 kB / 1.263 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.111e-06/0.9298, allocations: 0 / 1.263 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.448e-05/0.9298, allocations: 0 / 1.263 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.84e-05/0.9299, allocations: 2.109 kB / 1.263 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.645e-05/0.9299, allocations: 9.562 kB / 1.263 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.632e-05/0.93, allocations: 0.6094 kB / 1.263 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.576e-05/0.93, allocations: 0.7812 kB / 1.263 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.93, allocations: 0 / 1.263 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.339e-06/0.93, allocations: 0.7812 kB / 1.263 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.93, allocations: 0 / 1.263 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.93, allocations: 0.6562 kB / 1.263 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 5.073e-05/0.9301, allocations: 5.453 kB / 1.263 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.9301, allocations: 0 / 1.263 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.9301, allocations: 0.7812 kB / 1.263 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.9301, allocations: 4 kB / 1.263 GB, free: 7.617 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002155/0.9304, allocations: 309.1 kB / 1.263 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.9304, allocations: 8.812 kB / 1.263 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.9304, allocations: 1.875 kB / 1.263 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.833e-05/0.9305, allocations: 169.5 kB / 1.264 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.9305, allocations: 5 kB / 1.264 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-06/0.9305, allocations: 5.25 kB / 1.264 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.289e-05/0.9306, allocations: 29.36 kB / 1.264 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.9306, allocations: 4.188 kB / 1.264 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.9306, allocations: 3.938 kB / 1.264 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.9306, allocations: 0.8125 kB / 1.264 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.531e-05/0.9307, allocations: 1.344 kB / 1.264 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.516e-05/0.9308, allocations: 147.9 kB / 1.264 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.545e-05/0.9308, allocations: 25.27 kB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.9308, allocations: 7.953 kB / 1.264 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.9308, allocations: 8.609 kB / 1.264 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.9309, allocations: 32.03 kB / 1.264 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.9309, allocations: 0 / 1.264 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001081/0.931, allocations: 35.92 kB / 1.264 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.931, allocations: 51.41 kB / 1.264 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.875e-05/0.931, allocations: 95.14 kB / 1.264 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.062e-06/0.931, allocations: 25.7 kB / 1.264 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.079e-05/0.9311, allocations: 84.81 kB / 1.264 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.9311, allocations: 5.625 kB / 1.264 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.9311, allocations: 15.34 kB / 1.264 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.388e-05/0.9312, allocations: 312 kB / 1.264 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.9312, allocations: 1.438 kB / 1.264 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.87e-06/0.9312, allocations: 0.9062 kB / 1.264 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.363e-05/0.9312, allocations: 12.42 kB / 1.264 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9312, allocations: 0 / 1.264 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.121e-05/0.9313, allocations: 40.22 kB / 1.265 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.9313, allocations: 4.875 kB / 1.265 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.9313, allocations: 1.453 kB / 1.265 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.9313, allocations: 4.594 kB / 1.265 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.078e-05/0.9314, allocations: 1.312 kB / 1.265 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.9314, allocations: 5.5 kB / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.247e-06/0.9314, allocations: 0 / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.9314, allocations: 0.875 kB / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 3.887e-05/0.9314, allocations: 111.3 kB / 1.265 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-06/0.9314, allocations: 4.641 kB / 1.265 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.606e-05/0.9315, allocations: 8.359 kB / 1.265 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.9315, allocations: 0.6875 kB / 1.265 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.9315, allocations: 0 / 1.265 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.9315, allocations: 1.188 kB / 1.265 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.077e-05/0.9315, allocations: 148.4 kB / 1.265 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.9315, allocations: 1.312 kB / 1.265 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.876e-06/0.9316, allocations: 1.5 kB / 1.265 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9316, allocations: 0.9062 kB / 1.265 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/0.9316, allocations: 8.672 kB / 1.265 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9316, allocations: 4.812 kB / 1.265 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.9316, allocations: 0 / 1.265 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.067e-05/0.9316, allocations: 60.88 kB / 1.265 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.9317, allocations: 79.05 kB / 1.265 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.9317, allocations: 8.75 kB / 1.265 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-06/0.9317, allocations: 3.938 kB / 1.265 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.9317, allocations: 1.266 kB / 1.265 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-06/0.9317, allocations: 0.8125 kB / 1.265 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.136e-05/0.9317, allocations: 80.06 kB / 1.265 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9317, allocations: 0 / 1.265 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001928/0.9319, allocations: 0.7188 kB / 1.265 GB, free: 5.457 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 7.698e-05/0.932, allocations: 94.78 kB / 1.265 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.174e-05/0.9321, allocations: 3.812 kB / 1.265 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.9321, allocations: 0 / 1.265 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-06/0.9321, allocations: 2.531 kB / 1.265 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.9322, allocations: 8.016 kB / 1.265 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000163/0.9324, allocations: 104.7 kB / 1.265 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.353e-05/0.9325, allocations: 0.6789 MB / 1.266 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.325e-05/0.9325, allocations: 8.703 kB / 1.266 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/0.9325, allocations: 0 / 1.266 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of Templates: time 0.001585/0.9341, allocations: 322.5 kB / 1.266 GB, free: 4.516 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.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.871367369079962]