Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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_latest_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.001235/0.001235, allocations: 112.2 kB / 16.42 MB, free: 6.504 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.001203/0.001203, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.389/1.389, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.609/2.609, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 71.89 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8898/0.8912, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.002321/0.8936, allocations: 0.5792 MB / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000324/0.894, allocations: 55.77 kB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.894, allocations: 8 kB / 1.209 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.894, allocations: 0 / 1.209 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-06/0.8941, allocations: 0 / 1.209 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.8944, allocations: 15.92 kB / 1.209 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.199e-05/0.8944, allocations: 0 / 1.209 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.417e-05/0.8945, allocations: 4 kB / 1.209 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.662e-05/0.8945, allocations: 3.938 kB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.576e-05/0.8945, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.8946, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.8947, allocations: 19.98 kB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.8947, allocations: 7.984 kB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.8947, allocations: 3.984 kB / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.912e-05/0.8948, allocations: 11.98 kB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.8949, allocations: 4 kB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8949, allocations: 0 / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.8949, allocations: 0 / 1.209 GB, free: 12.94 MB / 0.9356 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.0003806/0.8953, allocations: 311.6 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.8953, allocations: 11.97 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003108/0.8956, allocations: 24.89 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.8958, allocations: 160.4 kB / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.8958, allocations: 4.312 kB / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.8958, allocations: 384 / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.896, allocations: 38.25 kB / 1.21 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.896, allocations: 192 / 1.21 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.896, allocations: 7.938 kB / 1.21 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.896, allocations: 0 / 1.21 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.429e-05/0.8961, allocations: 11.98 kB / 1.21 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.8963, allocations: 145.7 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.216e-05/0.8964, allocations: 26.48 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.735e-05/0.8964, allocations: 16.91 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.8965, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.8965, allocations: 34.56 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.763e-06/0.8965, allocations: 4 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0002507/0.8968, allocations: 41.62 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.8968, allocations: 59.39 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.549e-05/0.8969, allocations: 89.86 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.8969, allocations: 25.7 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.8969, allocations: 80.14 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.897, allocations: 0 / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.897, allocations: 17.84 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.8972, allocations: 314.8 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.675e-05/0.8972, allocations: 7.922 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.404e-05/0.8973, allocations: 4 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.546e-05/0.8973, allocations: 16.84 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8974, allocations: 64 / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001238/0.8975, allocations: 45.69 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.8975, allocations: 8 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8975, allocations: 0 / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.8975, allocations: 3.938 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.703e-05/0.8976, allocations: 7.984 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.8976, allocations: 0 / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.336e-05/0.8977, allocations: 0 / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.8977, allocations: 0 / 1.211 GB, free: 11.22 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: 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.061e-05/0.8978, allocations: 113.8 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.8978, allocations: 7.906 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.8978, allocations: 7.109 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.8979, allocations: 3.938 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.8979, allocations: 0 / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.8979, allocations: 77.11 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.8979, allocations: 3.938 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.94e-05/0.898, allocations: 8 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.898, allocations: 7.984 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001777/0.8982, allocations: 121 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000226/0.8984, allocations: 214.7 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.427e-05/0.8985, allocations: 15.98 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.364e-05/0.8986, allocations: 79.28 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of Backend: time 3.4e-07/0.8986, allocations: 0 / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005162/0.8991, allocations: 84.27 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005153/0.8996, allocations: 0.5292 MB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of Templates: time 0.003315/0.9029, allocations: 445.7 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches