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.005356/0.005356, allocations: 106.2 kB / 15.74 MB, free: 6 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.001553/0.001553, allocations: 198.6 kB / 16.68 MB, free: 5.918 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.204/2.204, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.91 kB / 0.9504 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7785/0.7798, allocations: 140.4 MB / 1.088 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001525/0.7813, allocations: 0.5727 MB / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002068/0.7816, allocations: 57.17 kB / 1.088 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.35e-05/0.7816, allocations: 0 / 1.088 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.7816, allocations: 0.9688 kB / 1.088 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.7816, allocations: 0 / 1.088 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.7818, allocations: 17.5 kB / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.245e-05/0.7819, allocations: 2 kB / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.7819, allocations: 2.109 kB / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.146e-05/0.7819, allocations: 1.25 kB / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.815e-05/0.7819, allocations: 1.25 kB / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.782, allocations: 7.984 kB / 1.088 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.148e-05/0.7821, allocations: 19.64 kB / 1.088 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.875e-06/0.7821, allocations: 1.281 kB / 1.088 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.385e-05/0.7821, allocations: 3.938 kB / 1.088 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.215e-05/0.7822, allocations: 20.08 kB / 1.088 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.7822, allocations: 0 / 1.088 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7822, allocations: 0 / 1.088 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.7822, allocations: 0 / 1.088 GB, free: 4.844 MB / 0.8575 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.0001796/0.7824, allocations: 310.4 kB / 1.088 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.7824, allocations: 10.17 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.798e-05/0.7824, allocations: 38.75 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.7827, allocations: 19.31 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.383e-05/0.7827, allocations: 161.1 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-06/0.7827, allocations: 0.8906 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.7827, allocations: 5.406 kB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.7828, allocations: 38.03 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.7829, allocations: 8.719 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.7829, allocations: 4 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.7829, allocations: 1.516 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.849e-05/0.783, allocations: 9.219 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.533e-05/0.7831, allocations: 148.7 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.866e-05/0.7831, allocations: 20.69 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.236e-05/0.7832, allocations: 17.64 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.7832, allocations: 5.734 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.044e-05/0.7832, allocations: 31.17 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.7832, allocations: 1.031 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002042/0.7834, allocations: 47.14 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.699e-05/0.7834, allocations: 56.06 kB / 1.089 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.37e-05/0.7835, allocations: 89.86 kB / 1.089 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.7835, allocations: 30.95 kB / 1.089 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.087e-06/0.7835, allocations: 80.14 kB / 1.089 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.7835, allocations: 5.203 kB / 1.089 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.7835, allocations: 11.97 kB / 1.089 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.608e-05/0.7836, allocations: 312.6 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.495e-05/0.7836, allocations: 8.891 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.502e-05/0.7837, allocations: 5.125 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.76e-05/0.7838, allocations: 24.36 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7838, allocations: 0 / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.94e-05/0.7839, allocations: 39.19 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.7839, allocations: 6.047 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.7839, allocations: 3.938 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.7839, allocations: 0.75 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.784, allocations: 5.281 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.784, allocations: 4.031 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.034e-05/0.784, allocations: 2.766 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.784, allocations: 0.7031 kB / 1.09 GB, free: 3.223 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 3.73e-05/0.7841, allocations: 112.6 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-06/0.7841, allocations: 0 / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.7841, allocations: 8.828 kB / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.7841, allocations: 0 / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.7841, allocations: 0.7031 kB / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.7841, allocations: 5.094 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.183e-05/0.7842, allocations: 148.9 kB / 1.09 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.7842, allocations: 0 / 1.09 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.7842, allocations: 5.25 kB / 1.09 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.7842, allocations: 1 kB / 1.09 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.7843, allocations: 4.734 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7843, allocations: 1.031 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7843, allocations: 0 / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.7844, allocations: 69.27 kB / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.7844, allocations: 84.48 kB / 1.09 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.7844, allocations: 4.969 kB / 1.09 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.836e-05/0.7845, allocations: 6.516 kB / 1.09 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.7845, allocations: 1.25 kB / 1.09 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.7845, allocations: 8.578 kB / 1.09 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.06e-05/0.7845, allocations: 75.28 kB / 1.09 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.11e-07/0.7845, allocations: 1.094 kB / 1.09 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001684/0.7847, allocations: 9 kB / 1.09 GB, free: 2.633 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.0002473/0.7849, allocations: 0.5993 MB / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.785, allocations: 16.3 kB / 1.091 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7851, allocations: 1.125 kB / 1.091 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.877e-05/0.7851, allocations: 9.828 kB / 1.091 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.7852, allocations: 5.906 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.7855, allocations: 119.4 kB / 1.091 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.7858, allocations: 0.6715 MB / 1.092 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.997e-05/0.7858, allocations: 9.297 kB / 1.092 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.7858, allocations: 9.109 kB / 1.092 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.7858, allocations: 0 / 1.092 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.8018, allocations: 0.9347 MB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/8.39, allocations: 3.594 kB / 1.093 GB, free: 16.83 MB / 0.8731 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