Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00155/0.00155, allocations: 114.8 kB / 16.42 MB, free: 6.488 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.001515/0.001515, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.483/1.483, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.2 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 67.89 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9924/0.9939, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001621/0.9956, allocations: 0.5732 MB / 1.089 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002659/0.9959, allocations: 52.95 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.627e-05/0.9959, allocations: 0 / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.9959, allocations: 1.188 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.172e-06/0.9959, allocations: 0 / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.9962, allocations: 22.56 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.581e-05/0.9963, allocations: 1.922 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.9963, allocations: 2.484 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.508e-05/0.9963, allocations: 1.219 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.117e-05/0.9963, allocations: 0 / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.9964, allocations: 5.172 kB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.9965, allocations: 20.11 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.9965, allocations: 4 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.9965, allocations: 5 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.791e-05/0.9966, allocations: 11.28 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.9966, allocations: 5.094 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9967, allocations: 0 / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.9967, allocations: 0 / 1.089 GB, free: 5.109 MB / 0.8575 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.0002451/0.9969, allocations: 319.6 kB / 1.09 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.997, allocations: 8.75 kB / 1.09 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/0.9972, allocations: 18.55 kB / 1.09 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.362e-05/0.9973, allocations: 161.6 kB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-06/0.9973, allocations: 1.344 kB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.9973, allocations: 5.5 kB / 1.09 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.9975, allocations: 37.95 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.9975, allocations: 1.281 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.9975, allocations: 3.938 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.9975, allocations: 4.547 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.039e-05/0.9976, allocations: 9.031 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.9977, allocations: 152.9 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.074e-05/0.9978, allocations: 25 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.93e-05/0.9979, allocations: 10.05 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.9979, allocations: 1.438 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.9979, allocations: 35.02 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.103e-06/0.9979, allocations: 1.344 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002412/0.9982, allocations: 59.66 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.661e-05/0.9982, allocations: 51.41 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.93e-05/0.9982, allocations: 89.86 kB / 1.09 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.9982, allocations: 27.45 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.253e-05/0.9983, allocations: 80.14 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.9983, allocations: 1.281 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.9983, allocations: 12.25 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.762e-05/0.9984, allocations: 316.9 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.985e-05/0.9984, allocations: 8.5 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.102e-05/0.9985, allocations: 4.641 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.508e-05/0.9986, allocations: 23.59 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9986, allocations: 0 / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001206/0.9987, allocations: 40.86 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.9987, allocations: 8.875 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.9987, allocations: 0.5625 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.9988, allocations: 4.688 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.442e-05/0.9988, allocations: 4.281 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.9989, allocations: 0.7969 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.471e-05/0.9989, allocations: 2.703 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.9989, allocations: 1.734 kB / 1.091 GB, free: 3.527 MB / 0.8575 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 4.72e-05/0.999, allocations: 107.6 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.999, allocations: 4 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.999, allocations: 8.781 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.999, allocations: 3.938 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.999, allocations: 4.5 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.999, allocations: 78.94 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.9991, allocations: 0.9375 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.731e-05/0.9991, allocations: 2.391 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.9991, allocations: 1.953 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001573/0.9993, allocations: 119.4 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001466/0.9994, allocations: 218.8 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.093e-05/0.9995, allocations: 6.828 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.277e-05/0.9995, allocations: 75.28 kB / 1.091 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of Backend: time 2.1e-07/0.9995, allocations: 4.062 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000424/1, allocations: 94.12 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0002532/1, allocations: 0.535 MB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of Templates: time 0.002733/1.003, allocations: 445.2 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches