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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_9_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.005543/0.005543, allocations: 102.1 kB / 15.73 MB, free: 5.988 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.001308/0.001308, allocations: 196.2 kB / 16.67 MB, free: 5.926 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.377/2.377, allocations: 390.2 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.81 kB / 0.9504 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2619, allocations: 140.4 MB / 1.088 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001648/0.2636, allocations: 0.5804 MB / 1.088 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.2639, allocations: 55.78 kB / 1.088 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.2639, allocations: 0 / 1.088 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.2639, allocations: 0 / 1.088 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 1.027e-05/0.264, allocations: 0 / 1.088 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.2642, allocations: 15.92 kB / 1.088 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.596e-05/0.2643, allocations: 4 kB / 1.088 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.2644, allocations: 4 kB / 1.088 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.469e-05/0.2644, allocations: 0 / 1.088 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.325e-05/0.2644, allocations: 0 / 1.088 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.2644, allocations: 4 kB / 1.088 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.2645, allocations: 15.98 kB / 1.088 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.2646, allocations: 3.984 kB / 1.088 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.2646, allocations: 0 / 1.088 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.98e-05/0.2647, allocations: 19.97 kB / 1.088 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2647, allocations: 0 / 1.088 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2647, allocations: 0 / 1.088 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.2647, allocations: 0 / 1.088 GB, free: 1.25 MB / 0.8419 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.0003009/0.265, allocations: 323.5 kB / 1.089 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.2651, allocations: 8.031 kB / 1.089 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.2651, allocations: 42.73 kB / 1.089 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.2654, allocations: 20.91 kB / 1.089 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.624e-05/0.2655, allocations: 160.4 kB / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2655, allocations: 384 / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.2655, allocations: 384 / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.2657, allocations: 38.25 kB / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2657, allocations: 3.938 kB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.2657, allocations: 0 / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2657, allocations: 0 / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.317e-05/0.2658, allocations: 15.97 kB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.266, allocations: 149.7 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.788e-05/0.266, allocations: 26.89 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.2661, allocations: 12.91 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.2661, allocations: 0 / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.2662, allocations: 30.56 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2662, allocations: 3.938 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0002245/0.2664, allocations: 49.56 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.2664, allocations: 59.52 kB / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.503e-05/0.2665, allocations: 93.86 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.2665, allocations: 29.7 kB / 1.089 GB, free: 16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.274e-05/0.2665, allocations: 80.14 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.2666, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.2666, allocations: 13.72 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.2667, allocations: 310.8 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.941e-05/0.2668, allocations: 7.984 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.005e-05/0.2668, allocations: 8 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.403e-05/0.2669, allocations: 20.84 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2669, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001261/0.2671, allocations: 41.62 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2671, allocations: 4 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2671, allocations: 7.938 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2671, allocations: 4.094 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.2672, allocations: 3.984 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2672, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.265e-05/0.2672, allocations: 7.938 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.2673, allocations: 0 / 1.09 GB, free: 15.47 MB / 0.8575 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.712e-05/0.2673, allocations: 105.8 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.2673, allocations: 3.984 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.2674, allocations: 11.06 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2674, allocations: 4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2674, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.2674, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.722e-05/0.2675, allocations: 145.7 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2675, allocations: 0 / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-05/0.2676, allocations: 7.984 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2676, allocations: 0 / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.2676, allocations: 3.938 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2676, allocations: 4 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2676, allocations: 4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.2677, allocations: 69.05 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.2678, allocations: 83.83 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.2678, allocations: 7.938 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.262e-05/0.2678, allocations: 4 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-06/0.2679, allocations: 0 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.2679, allocations: 0 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.705e-05/0.2679, allocations: 79.31 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2679, allocations: 0 / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000176/0.2681, allocations: 7.938 kB / 1.09 GB, free: 14.84 MB / 0.8575 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.0004603/0.2685, allocations: 0.6007 MB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.2687, allocations: 19.95 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2687, allocations: 0 / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.596e-05/0.2688, allocations: 7.984 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.2689, allocations: 2.031 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.2692, allocations: 110.7 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.2694, allocations: 0.673 MB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.2694, allocations: 4 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.2695, allocations: 7.438 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.2695, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.2854, allocations: 0.9432 MB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.15/9.436, allocations: 13.97 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > 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