Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 110.7 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00175/0.001751, allocations: 197.8 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.702/2.702, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001944, allocations: 68.8 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2912, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001735/0.293, allocations: 0.6541 MB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002127/0.2932, allocations: 47.84 kB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.185e-05/0.2932, allocations: 7.938 kB / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.2933, allocations: 0 / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.217e-06/0.2933, allocations: 0 / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.2935, allocations: 15.98 kB / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.418e-05/0.2935, allocations: 4 kB / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.2936, allocations: 0 / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.458e-05/0.2936, allocations: 4 kB / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.76e-05/0.2936, allocations: 0 / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.2936, allocations: 0 / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.805e-05/0.2937, allocations: 19.97 kB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.458e-06/0.2937, allocations: 8 kB / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.4e-05/0.2937, allocations: 3.984 kB / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.513e-05/0.2938, allocations: 7.984 kB / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.2938, allocations: 0 / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2938, allocations: 3.938 kB / 1.065 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.2938, allocations: 0 / 1.065 GB, free: 14.33 MB / 0.8419 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.0003111/0.2941, allocations: 315.5 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2942, allocations: 12.02 kB / 1.065 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/0.2944, allocations: 24.91 kB / 1.065 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.2946, allocations: 160.4 kB / 1.065 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2946, allocations: 384 / 1.065 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.2946, allocations: 384 / 1.065 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.2947, allocations: 38.19 kB / 1.065 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2948, allocations: 192 / 1.065 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.2948, allocations: 3.938 kB / 1.065 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-06/0.2948, allocations: 0 / 1.065 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.969e-05/0.2949, allocations: 15.98 kB / 1.065 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.295, allocations: 149.7 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.836e-05/0.2951, allocations: 22.61 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.2952, allocations: 16.84 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.2952, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.2952, allocations: 30.56 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.2953, allocations: 4 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0002335/0.2955, allocations: 49.62 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.2955, allocations: 55.39 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.974e-05/0.2956, allocations: 89.86 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.2956, allocations: 25.7 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.2957, allocations: 80.14 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.2957, allocations: 4 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.2957, allocations: 13.84 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2959, allocations: 310.8 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.164e-05/0.2959, allocations: 7.984 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.237e-05/0.296, allocations: 11.94 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.002e-05/0.2961, allocations: 16.84 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2961, allocations: 0 / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000126/0.2962, allocations: 41.75 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2962, allocations: 6.344 kB / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2962, allocations: 0 / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.2963, allocations: 3.938 kB / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.2963, allocations: 7.984 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2964, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.051e-05/0.2964, allocations: 8 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.2964, allocations: 3.938 kB / 1.066 GB, free: 12.61 MB / 0.8419 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 7.137e-05/0.2965, allocations: 113.8 kB / 1.066 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.2965, allocations: 3.984 kB / 1.066 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.2965, allocations: 11.06 kB / 1.066 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2965, allocations: 7.938 kB / 1.066 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2966, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.2966, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.2967, allocations: 141.7 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2967, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.2967, allocations: 7.984 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2967, allocations: 4 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.2968, allocations: 3.938 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2968, allocations: 0 / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2968, allocations: 0 / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.2969, allocations: 69.11 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.297, allocations: 77.11 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.297, allocations: 7.969 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.346e-05/0.297, allocations: 4 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-06/0.2971, allocations: 0 / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-06/0.2971, allocations: 0 / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.527e-05/0.2971, allocations: 79.22 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2971, allocations: 0 / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001773/0.2973, allocations: 0 / 1.067 GB, free: 11.99 MB / 0.8419 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 0.0001229/0.2974, allocations: 103.2 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.2976, allocations: 19.98 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.2976, allocations: 0 / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.291e-05/0.2976, allocations: 4 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.2978, allocations: 288 / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.298, allocations: 114.5 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.2983, allocations: 0.6806 MB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.2984, allocations: 11.56 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2984, allocations: 0 / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of Templates: time 0.00179/0.3002, allocations: 401.7 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches