Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_latest_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.008107/0.008107, allocations: 107.5 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.001954/0.001954, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.749/2.749, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001396, allocations: 63.91 kB / 1.054 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2885, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001809/0.2903, allocations: 0.593 MB / 1.208 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002519/0.2906, allocations: 51.73 kB / 1.208 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.84e-05/0.2906, allocations: 4 kB / 1.208 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.226e-05/0.2906, allocations: 0 / 1.208 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.581e-06/0.2907, allocations: 0 / 1.208 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.2909, allocations: 11.92 kB / 1.208 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.806e-05/0.2909, allocations: 4 kB / 1.208 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.291, allocations: 8 kB / 1.208 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.429e-05/0.291, allocations: 0 / 1.208 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.2e-05/0.291, allocations: 3.984 kB / 1.208 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.2911, allocations: 0 / 1.208 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.2912, allocations: 23.97 kB / 1.208 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.2912, allocations: 0 / 1.208 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.2912, allocations: 0 / 1.208 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.423e-05/0.2913, allocations: 15.98 kB / 1.208 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2913, allocations: 4 kB / 1.208 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2913, allocations: 0 / 1.208 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.2913, allocations: 4 kB / 1.208 GB, free: 9.391 MB / 0.9669 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.0003082/0.2916, allocations: 311.6 kB / 1.208 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.2917, allocations: 8.625 kB / 1.208 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.048e-05/0.2917, allocations: 34.69 kB / 1.208 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.292, allocations: 16.91 kB / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.498e-05/0.2921, allocations: 160.4 kB / 1.209 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.2921, allocations: 12.3 kB / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.2921, allocations: 384 / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.2923, allocations: 42.25 kB / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2923, allocations: 3.938 kB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.2923, allocations: 0 / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2923, allocations: 0 / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.248e-05/0.2924, allocations: 7.984 kB / 1.209 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.2926, allocations: 145.7 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.352e-05/0.2927, allocations: 30.53 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.026e-05/0.2927, allocations: 8.922 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.2928, allocations: 4 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.2928, allocations: 34.5 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2928, allocations: 0 / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002467/0.2931, allocations: 53.7 kB / 1.209 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.2931, allocations: 51.41 kB / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.356e-05/0.2932, allocations: 89.86 kB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.2932, allocations: 25.7 kB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.431e-05/0.2932, allocations: 80.14 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.2932, allocations: 3.906 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.2933, allocations: 21.7 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2934, allocations: 310.8 kB / 1.209 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-05/0.2934, allocations: 11.97 kB / 1.209 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.29e-05/0.2935, allocations: 7.984 kB / 1.209 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.2936, allocations: 12.84 kB / 1.209 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2936, allocations: 0 / 1.209 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001294/0.2937, allocations: 41.69 kB / 1.209 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2938, allocations: 4 kB / 1.209 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2938, allocations: 8.031 kB / 1.209 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2938, allocations: 0 / 1.209 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.2939, allocations: 4 kB / 1.209 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2939, allocations: 3.984 kB / 1.209 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.2939, allocations: 0 / 1.209 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.2939, allocations: 15.94 kB / 1.21 GB, free: 7.621 MB / 0.9669 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.389e-05/0.294, allocations: 109.8 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-06/0.294, allocations: 0 / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.2941, allocations: 11.06 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.2941, allocations: 0 / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2941, allocations: 0 / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2941, allocations: 3.984 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.2942, allocations: 149.7 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2942, allocations: 0 / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.2943, allocations: 4 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2943, allocations: 0 / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.2943, allocations: 7.922 kB / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2943, allocations: 0 / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2943, allocations: 0 / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.2945, allocations: 69.12 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.2945, allocations: 77.39 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.2945, allocations: 3.938 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.304e-05/0.2946, allocations: 3.984 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.2946, allocations: 3.938 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.2946, allocations: 4.031 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.6e-05/0.2946, allocations: 79.28 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2946, allocations: 3.938 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001781/0.2948, allocations: 0 / 1.21 GB, free: 7.008 MB / 0.9669 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.0004415/0.2953, allocations: 0.6046 MB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.2954, allocations: 15.98 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2954, allocations: 0 / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.408e-05/0.2955, allocations: 7.938 kB / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.2956, allocations: 4.969 kB / 1.211 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000352/0.296, allocations: 122.7 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.2962, allocations: 0.6729 MB / 1.211 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.2963, allocations: 0 / 1.211 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.2963, allocations: 11.44 kB / 1.211 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.2963, allocations: 0 / 1.211 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.3127, allocations: 0.962 MB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/8.03, allocations: 6.984 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches