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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001167/0.001167, allocations: 104.6 kB / 16.35 MB, free: 5.887 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.001165/0.001165, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.202/1.202, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.018/2.018, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 65.89 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2305, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.00155/0.232, allocations: 0.5859 MB / 0.9517 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002005/0.2323, allocations: 47.84 kB / 0.9517 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.223e-05/0.2323, allocations: 4 kB / 0.9517 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.053e-05/0.2323, allocations: 3.938 kB / 0.9518 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.198e-06/0.2323, allocations: 0 / 0.9518 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.2325, allocations: 19.98 kB / 0.9518 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.482e-05/0.2326, allocations: 0 / 0.9518 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.2326, allocations: 4 kB / 0.9518 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.338e-05/0.2326, allocations: 3.938 kB / 0.9518 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.947e-05/0.2326, allocations: 3.984 kB / 0.9518 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.2327, allocations: 0 / 0.9518 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.115e-05/0.2328, allocations: 19.98 kB / 0.9518 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.614e-06/0.2328, allocations: 0 / 0.9518 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.645e-05/0.2328, allocations: 0 / 0.9518 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.065e-05/0.2329, allocations: 15.97 kB / 0.9518 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2329, allocations: 4 kB / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2329, allocations: 7.938 kB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.2329, allocations: 0 / 0.9518 GB, free: 7.34 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.000223/0.2331, allocations: 311.6 kB / 0.9521 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.2332, allocations: 8.031 kB / 0.9521 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002244/0.2334, allocations: 16.91 kB / 0.9521 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.726e-05/0.2335, allocations: 164.4 kB / 0.9523 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.2335, allocations: 4.375 kB / 0.9523 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.2335, allocations: 4.375 kB / 0.9523 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.2336, allocations: 38.25 kB / 0.9523 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.2337, allocations: 192 / 0.9524 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2337, allocations: 3.938 kB / 0.9524 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.2337, allocations: 0 / 0.9524 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.236e-05/0.2338, allocations: 7.984 kB / 0.9524 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.2339, allocations: 145.7 kB / 0.9525 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.732e-05/0.234, allocations: 34.53 kB / 0.9525 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.234, allocations: 8.797 kB / 0.9525 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.234, allocations: 11.98 kB / 0.9526 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.2341, allocations: 30.56 kB / 0.9526 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.2341, allocations: 0 / 0.9526 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001926/0.2343, allocations: 53.59 kB / 0.9526 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.2343, allocations: 55.41 kB / 0.9527 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.535e-05/0.2343, allocations: 89.86 kB / 0.9528 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.2344, allocations: 29.69 kB / 0.9528 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.453e-05/0.2344, allocations: 80.14 kB / 0.9529 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.2344, allocations: 4 kB / 0.9529 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.2344, allocations: 13.72 kB / 0.9529 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.443e-05/0.2345, allocations: 310.8 kB / 0.9532 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/0.2346, allocations: 8 kB / 0.9532 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.137e-05/0.2346, allocations: 3.984 kB / 0.9532 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.353e-05/0.2347, allocations: 16.84 kB / 0.9532 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2347, allocations: 0 / 0.9532 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001045/0.2348, allocations: 45.62 kB / 0.9533 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.2348, allocations: 8 kB / 0.9533 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.2348, allocations: 4.094 kB / 0.9533 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.2349, allocations: 3.938 kB / 0.9533 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.224e-05/0.2349, allocations: 7.984 kB / 0.9533 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.235, allocations: 0 / 0.9533 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.235, allocations: 0 / 0.9533 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.235, allocations: 0 / 0.9533 GB, free: 5.621 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 6.365e-05/0.2351, allocations: 109.8 kB / 0.9534 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.2351, allocations: 0 / 0.9534 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.2351, allocations: 19.03 kB / 0.9534 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.2351, allocations: 0 / 0.9534 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2351, allocations: 0 / 0.9534 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.2351, allocations: 0 / 0.9534 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.993e-05/0.2352, allocations: 149.7 kB / 0.9535 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.2352, allocations: 0 / 0.9535 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.2353, allocations: 3.984 kB / 0.9536 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2353, allocations: 4 kB / 0.9536 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.2353, allocations: 3.938 kB / 0.9536 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2353, allocations: 0 / 0.9536 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2353, allocations: 3.938 kB / 0.9536 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.2354, allocations: 69.06 kB / 0.9536 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.2354, allocations: 85.09 kB / 0.9537 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.2355, allocations: 3.938 kB / 0.9537 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.688e-05/0.2355, allocations: 0 / 0.9537 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-06/0.2355, allocations: 0 / 0.9537 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.2355, allocations: 0 / 0.9537 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.028e-05/0.2355, allocations: 87.25 kB / 0.9538 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2355, allocations: 0 / 0.9538 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001633/0.2357, allocations: 4 kB / 0.9538 GB, free: 4.992 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.0001062/0.2358, allocations: 95.25 kB / 0.9539 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.2359, allocations: 15.97 kB / 0.9539 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.236, allocations: 0 / 0.9539 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.634e-05/0.236, allocations: 12 kB / 0.9539 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.2361, allocations: 7.938 kB / 0.9539 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002173/0.2363, allocations: 87.08 kB / 0.954 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.2366, allocations: 0.6727 MB / 0.9547 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.941e-05/0.2366, allocations: 12.05 kB / 0.9547 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.2366, allocations: 7.438 kB / 0.9547 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2366, allocations: 0 / 0.9547 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of Templates: time 0.001673/0.2383, allocations: 224.2 kB / 0.9549 GB, free: 3.812 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 -s cvode -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