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.001403/0.001403, allocations: 107.5 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.001677/0.001677, allocations: 198.7 kB / 16.91 MB, free: 6.195 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.21/2.21, allocations: 390.2 MB / 0.665 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 68.78 kB / 0.8127 GB, free: 32.47 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2674, allocations: 140.4 MB / 0.9498 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.002127/0.2696, allocations: 0.6455 MB / 0.9504 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002648/0.2699, allocations: 47.84 kB / 0.9505 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.368e-05/0.2699, allocations: 0 / 0.9505 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.2699, allocations: 0 / 0.9505 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.801e-06/0.2699, allocations: 0 / 0.9505 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.2702, allocations: 19.92 kB / 0.9505 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.342e-05/0.2703, allocations: 0 / 0.9505 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.2703, allocations: 3.938 kB / 0.9505 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.454e-05/0.2703, allocations: 4 kB / 0.9505 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.181e-05/0.2704, allocations: 3.984 kB / 0.9505 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.2704, allocations: 7.938 kB / 0.9505 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.2705, allocations: 15.98 kB / 0.9505 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.2705, allocations: 0 / 0.9505 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.2705, allocations: 7.984 kB / 0.9505 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.836e-05/0.2706, allocations: 7.984 kB / 0.9505 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2706, allocations: 0 / 0.9505 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2706, allocations: 0 / 0.9505 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.2706, allocations: 0 / 0.9505 GB, free: 8.441 MB / 0.7325 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.0003042/0.2709, allocations: 319.6 kB / 0.9508 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.271, allocations: 8.031 kB / 0.9508 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/0.2712, allocations: 24.91 kB / 0.9509 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.516e-05/0.2713, allocations: 160.4 kB / 0.951 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.2714, allocations: 384 / 0.951 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.2714, allocations: 4.359 kB / 0.951 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.2715, allocations: 38.19 kB / 0.9511 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2715, allocations: 192 / 0.9511 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.2716, allocations: 3.938 kB / 0.9511 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2716, allocations: 4 kB / 0.9511 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.2717, allocations: 11.98 kB / 0.9511 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.2718, allocations: 149.7 kB / 0.9512 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.799e-05/0.2719, allocations: 24.72 kB / 0.9512 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.263e-05/0.272, allocations: 16.84 kB / 0.9513 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.272, allocations: 0 / 0.9513 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.272, allocations: 38.5 kB / 0.9513 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.272, allocations: 0 / 0.9513 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0002349/0.2723, allocations: 57.52 kB / 0.9513 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.2723, allocations: 51.41 kB / 0.9514 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.043e-05/0.2724, allocations: 89.86 kB / 0.9515 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.2724, allocations: 25.7 kB / 0.9515 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.2724, allocations: 84.27 kB / 0.9516 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.2724, allocations: 4 kB / 0.9516 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.2725, allocations: 9.719 kB / 0.9516 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2726, allocations: 314.8 kB / 0.9519 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.761e-05/0.2726, allocations: 7.984 kB / 0.9519 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.761e-05/0.2727, allocations: 4 kB / 0.9519 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.948e-05/0.2728, allocations: 20.84 kB / 0.9519 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2728, allocations: 4 kB / 0.9519 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001181/0.2729, allocations: 37.69 kB / 0.952 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2729, allocations: 6.344 kB / 0.952 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.2729, allocations: 0 / 0.952 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.273, allocations: 7.922 kB / 0.952 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.273, allocations: 4 kB / 0.952 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2731, allocations: 3.938 kB / 0.952 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.819e-05/0.2731, allocations: 12.03 kB / 0.952 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.2731, allocations: 0 / 0.952 GB, free: 6.703 MB / 0.7325 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.29e-05/0.2732, allocations: 113.8 kB / 0.9521 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.2732, allocations: 0 / 0.9521 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.2732, allocations: 7.062 kB / 0.9521 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2732, allocations: 0 / 0.9521 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2732, allocations: 4 kB / 0.9521 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2733, allocations: 0 / 0.9521 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.738e-05/0.2733, allocations: 145.6 kB / 0.9523 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2734, allocations: 4 kB / 0.9523 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.2734, allocations: 7.984 kB / 0.9523 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2734, allocations: 0 / 0.9523 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2734, allocations: 3.938 kB / 0.9523 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.2734, allocations: 0 / 0.9523 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2734, allocations: 3.938 kB / 0.9523 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.2736, allocations: 73.11 kB / 0.9524 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.2736, allocations: 77.11 kB / 0.9524 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.2736, allocations: 3.938 kB / 0.9524 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.328e-05/0.2737, allocations: 4 kB / 0.9524 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-06/0.2737, allocations: 0 / 0.9524 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.2737, allocations: 0 / 0.9524 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.787e-05/0.2737, allocations: 75.28 kB / 0.9525 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2737, allocations: 0 / 0.9525 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001938/0.2739, allocations: 0 / 0.9525 GB, free: 6.094 MB / 0.7325 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.0001331/0.2741, allocations: 111.2 kB / 0.9526 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.2742, allocations: 11.98 kB / 0.9526 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2742, allocations: 0 / 0.9526 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.41e-05/0.2743, allocations: 8 kB / 0.9526 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.2744, allocations: 288 / 0.9526 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.2747, allocations: 110.8 kB / 0.9527 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.2749, allocations: 0.6805 MB / 0.9534 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.275, allocations: 7.438 kB / 0.9534 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.275, allocations: 0 / 0.9534 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of Templates: time 0.001771/0.2768, allocations: 404 kB / 0.9538 GB, free: 4.711 MB / 0.7325 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