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.001259/0.001259, allocations: 106.1 kB / 16.27 MB, free: 5.973 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.001222/0.001222, allocations: 192 kB / 17.2 MB, free: 5.598 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.425/1.425, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.555/2.555, allocations: 437.1 MB / 0.711 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 71.83 kB / 0.8699 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3116, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001989/0.3137, allocations: 0.5786 MB / 1.019 GB, free: 10 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002516/0.3139, allocations: 63.72 kB / 1.019 GB, free: 9.938 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.6e-05/0.314, allocations: 0 / 1.019 GB, free: 9.938 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.117e-05/0.314, allocations: 0 / 1.019 GB, free: 9.938 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.278e-06/0.314, allocations: 0 / 1.019 GB, free: 9.938 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.3142, allocations: 15.92 kB / 1.019 GB, free: 9.922 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.548e-05/0.3143, allocations: 4 kB / 1.019 GB, free: 9.918 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.3143, allocations: 0 / 1.019 GB, free: 9.918 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.656e-05/0.3144, allocations: 3.984 kB / 1.019 GB, free: 9.914 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.195e-05/0.3144, allocations: 4 kB / 1.019 GB, free: 9.91 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.3144, allocations: 0 / 1.019 GB, free: 9.91 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3145, allocations: 23.97 kB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.536e-06/0.3145, allocations: 4 kB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.3145, allocations: 4 kB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.36e-05/0.3146, allocations: 11.98 kB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3146, allocations: 0 / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3146, allocations: 0 / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3146, allocations: 0 / 1.019 GB, free: 9.867 MB / 0.795 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.0003244/0.315, allocations: 315.5 kB / 1.019 GB, free: 9.508 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.315, allocations: 15.97 kB / 1.019 GB, free: 9.492 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000252/0.3153, allocations: 20.91 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.3154, allocations: 160.4 kB / 1.019 GB, free: 9.277 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.3154, allocations: 4.312 kB / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.3154, allocations: 384 / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.3156, allocations: 38.25 kB / 1.019 GB, free: 9.23 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.3156, allocations: 192 / 1.019 GB, free: 9.23 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3156, allocations: 3.938 kB / 1.019 GB, free: 9.227 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3156, allocations: 0 / 1.019 GB, free: 9.227 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.715e-05/0.3157, allocations: 15.98 kB / 1.019 GB, free: 9.211 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.3159, allocations: 145.7 kB / 1.019 GB, free: 9.02 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.561e-05/0.316, allocations: 22.55 kB / 1.019 GB, free: 8.988 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.316, allocations: 16.91 kB / 1.019 GB, free: 8.969 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.3161, allocations: 7.922 kB / 1.019 GB, free: 8.961 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.3161, allocations: 34.56 kB / 1.019 GB, free: 8.918 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3161, allocations: 0 / 1.019 GB, free: 8.918 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0002345/0.3164, allocations: 49.61 kB / 1.019 GB, free: 8.863 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.3164, allocations: 51.41 kB / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.491e-05/0.3165, allocations: 89.86 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.3165, allocations: 29.7 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.3165, allocations: 80.14 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.3166, allocations: 128 / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.3166, allocations: 17.72 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3167, allocations: 314.8 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.866e-05/0.3168, allocations: 7.984 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-05/0.3169, allocations: 4 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.223e-05/0.317, allocations: 16.84 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.317, allocations: 4.062 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001288/0.3171, allocations: 41.69 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3171, allocations: 7.984 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3171, allocations: 0 / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3172, allocations: 7.938 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.304e-05/0.3172, allocations: 0 / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3172, allocations: 0 / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.3173, allocations: 7.938 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.3173, allocations: 0 / 1.02 GB, free: 8.141 MB / 0.795 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.755e-05/0.3174, allocations: 117.8 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.3174, allocations: 0 / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.3174, allocations: 11.06 kB / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.3174, allocations: 0 / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3174, allocations: 0 / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.3174, allocations: 0 / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.3176, allocations: 145.7 kB / 1.02 GB, free: 7.812 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3176, allocations: 0 / 1.02 GB, free: 7.812 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.085e-05/0.3176, allocations: 8 kB / 1.02 GB, free: 7.805 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3176, allocations: 0 / 1.02 GB, free: 7.805 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3176, allocations: 3.938 kB / 1.02 GB, free: 7.801 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.3176, allocations: 4 kB / 1.02 GB, free: 7.797 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3177, allocations: 0 / 1.02 GB, free: 7.797 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.3178, allocations: 69.11 kB / 1.02 GB, free: 7.711 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.3179, allocations: 77.11 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.3179, allocations: 7.969 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.047e-05/0.3179, allocations: 7.984 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.318, allocations: 3.938 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.318, allocations: 0 / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.46e-05/0.318, allocations: 79.22 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3181, allocations: 0 / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001753/0.3182, allocations: 4 kB / 1.021 GB, free: 7.516 MB / 0.795 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.0001263/0.3184, allocations: 103.2 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.3185, allocations: 15.98 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3185, allocations: 0 / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.462e-05/0.3186, allocations: 4 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.3187, allocations: 2.688 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.319, allocations: 118.7 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3193, allocations: 0.6768 MB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.3193, allocations: 15.44 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of SimCode: time 2e-07/0.3193, allocations: 0 / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of Templates: time 0.001772/0.3211, allocations: 385.1 kB / 1.022 GB, free: 6.145 MB / 0.795 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=400 -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