Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005178/0.005178, allocations: 102.8 kB / 15.74 MB, free: 6.035 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.001426/0.001427, allocations: 191.1 kB / 16.67 MB, free: 5.965 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.572/2.572, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 67.89 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2695, allocations: 159.1 MB / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001418/0.271, allocations: 0.5759 MB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002362/0.2712, allocations: 55.77 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.357e-05/0.2713, allocations: 7.938 kB / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.879e-06/0.2713, allocations: 0 / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.24e-06/0.2713, allocations: 0 / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.2715, allocations: 15.86 kB / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.183e-05/0.2715, allocations: 0 / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.63e-05/0.2716, allocations: 4 kB / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.088e-05/0.2716, allocations: 0 / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.854e-05/0.2716, allocations: 4 kB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.374e-06/0.2716, allocations: 4 kB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-05/0.2717, allocations: 19.98 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.324e-06/0.2717, allocations: 0 / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.2717, allocations: 7.969 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.902e-05/0.2718, allocations: 11.98 kB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2718, allocations: 4 kB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2718, allocations: 0 / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2718, allocations: 0 / 1.221 GB, free: 13.53 MB / 0.9825 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.00028/0.2721, allocations: 315.5 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2722, allocations: 8.031 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.894e-05/0.2722, allocations: 38.73 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.2724, allocations: 16.91 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.956e-05/0.2725, allocations: 164.3 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.2725, allocations: 4.375 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.2726, allocations: 4.359 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.2727, allocations: 38.19 kB / 1.221 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.2727, allocations: 3.938 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.2727, allocations: 8 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.2727, allocations: 0 / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.16e-05/0.2728, allocations: 7.984 kB / 1.221 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.2729, allocations: 149.7 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.398e-05/0.273, allocations: 18.61 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.2731, allocations: 14.75 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.2731, allocations: 4 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.2731, allocations: 38.5 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.2731, allocations: 0 / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.000211/0.2733, allocations: 49.61 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.2734, allocations: 51.41 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.84e-05/0.2734, allocations: 89.86 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.2734, allocations: 29.83 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.2735, allocations: 80.14 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.2735, allocations: 0 / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.2735, allocations: 17.72 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2737, allocations: 310.8 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/0.2737, allocations: 7.984 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.713e-05/0.2738, allocations: 4 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.728e-05/0.2738, allocations: 20.84 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2739, allocations: 7.938 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001243/0.274, allocations: 41.69 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.274, allocations: 4 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.274, allocations: 3.938 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.274, allocations: 3.984 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.2741, allocations: 4 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.2741, allocations: 4.031 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.2741, allocations: 0 / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.2742, allocations: 4 kB / 1.222 GB, free: 11.76 MB / 0.9825 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.497e-05/0.2742, allocations: 109.8 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.2742, allocations: 3.984 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.2743, allocations: 11 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.2743, allocations: 0 / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2743, allocations: 0 / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.2743, allocations: 7.938 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.373e-05/0.2744, allocations: 145.7 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.2744, allocations: 0 / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.2744, allocations: 7.984 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.2744, allocations: 0 / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.2745, allocations: 3.938 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2745, allocations: 0 / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2745, allocations: 0 / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.2746, allocations: 73.11 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.2747, allocations: 77.11 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.2747, allocations: 3.938 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.847e-05/0.2747, allocations: 0 / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.2747, allocations: 0 / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.2747, allocations: 4 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.757e-05/0.2748, allocations: 75.28 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2748, allocations: 0 / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000159/0.2749, allocations: 0 / 1.223 GB, free: 11.15 MB / 0.9825 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.0004173/0.2753, allocations: 0.609 MB / 1.223 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.2755, allocations: 15.98 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.2755, allocations: 4.094 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.404e-05/0.2755, allocations: 11.92 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.2757, allocations: 5.719 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.276, allocations: 112.7 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.2762, allocations: 0.669 MB / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.032e-05/0.2763, allocations: 12.05 kB / 1.224 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.2763, allocations: 11.38 kB / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.2763, allocations: 0 / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.408/2.685, allocations: 0.9556 MB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/10.52, allocations: 0.7031 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches