Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001719/0.001718, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.002985/0.002985, allocations: 183.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.446/1.446, 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 10.1.1-maint.10.0.x/package.mo): time 2.492/2.492, allocations: 437 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 63.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001998/1.023, allocations: 0.5807 MB / 1.168 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003236/1.023, allocations: 55.78 kB / 1.168 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.037e-05/1.023, allocations: 0 / 1.168 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/1.023, allocations: 0 / 1.168 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.005e-06/1.023, allocations: 0 / 1.168 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/1.023, allocations: 23.91 kB / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.374e-05/1.023, allocations: 0 / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.488e-05/1.023, allocations: 0 / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.893e-05/1.023, allocations: 3.938 kB / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.032e-05/1.024, allocations: 8 kB / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/1.024, allocations: 0 / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/1.024, allocations: 23.97 kB / 1.168 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/1.024, allocations: 0 / 1.168 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.676e-05/1.024, allocations: 4 kB / 1.168 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.938e-05/1.024, allocations: 11.97 kB / 1.168 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/1.024, allocations: 4 kB / 1.168 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.533e-06/1.024, allocations: 0 / 1.168 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.433e-06/1.024, allocations: 0 / 1.168 GB, free: 3.191 MB / 0.8887 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.0003714/1.024, allocations: 311.6 kB / 1.168 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.024, allocations: 8.922 kB / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003226/1.025, allocations: 28.91 kB / 1.168 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/1.025, allocations: 160.4 kB / 1.169 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/1.025, allocations: 384 / 1.169 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/1.025, allocations: 384 / 1.169 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/1.025, allocations: 38.19 kB / 1.169 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.025, allocations: 192 / 1.169 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/1.025, allocations: 3.938 kB / 1.169 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.025, allocations: 0 / 1.169 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.546e-05/1.025, allocations: 15.98 kB / 1.169 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/1.025, allocations: 149.7 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.388e-05/1.025, allocations: 18.61 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.168e-05/1.025, allocations: 16.84 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/1.025, allocations: 0 / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/1.026, allocations: 42.5 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/1.026, allocations: 0 / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0002694/1.026, allocations: 49.61 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/1.026, allocations: 51.41 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.461e-05/1.026, allocations: 89.86 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/1.026, allocations: 29.64 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/1.026, allocations: 84.14 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/1.026, allocations: 4.125 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/1.026, allocations: 9.719 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.026, allocations: 314.8 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.092e-05/1.026, allocations: 7.984 kB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.942e-05/1.026, allocations: 4 kB / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.816e-05/1.026, allocations: 20.78 kB / 1.169 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.026, allocations: 4.062 kB / 1.169 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001168/1.027, allocations: 37.69 kB / 1.169 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.027, allocations: 7.984 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.027, allocations: 0 / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/1.027, allocations: 7.938 kB / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/1.027, allocations: 0 / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/1.027, allocations: 0 / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/1.027, allocations: 4 kB / 1.169 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/1.027, allocations: 4.031 kB / 1.169 GB, free: 1.473 MB / 0.8887 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 6.941e-05/1.027, allocations: 113.8 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-06/1.027, allocations: 3.906 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/1.027, allocations: 7.125 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.027, allocations: 3.938 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.027, allocations: 3.938 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/1.027, allocations: 77.11 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/1.027, allocations: 0 / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.731e-05/1.027, allocations: 4 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/1.027, allocations: 7.984 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001717/1.027, allocations: 113 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002038/1.027, allocations: 222.7 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.924e-05/1.027, allocations: 8.062 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.847e-05/1.027, allocations: 79.22 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of Backend: time 5.81e-07/1.027, allocations: 0 / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004381/1.028, allocations: 95.36 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of SimCode: time 0.000365/1.028, allocations: 0.5292 MB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of Templates: time 0.002551/1.031, allocations: 448.3 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches