Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_10_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.005743/0.005743, allocations: 101.3 kB / 15.73 MB, free: 5.992 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.001338/0.001338, allocations: 198.8 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.637/2.637, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 67.91 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7153/0.7169, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001606/0.7186, allocations: 0.5827 MB / 1.167 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002389/0.7188, allocations: 61.73 kB / 1.167 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.377e-05/0.7189, allocations: 0 / 1.167 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.044e-05/0.7189, allocations: 0 / 1.167 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-06/0.7189, allocations: 0 / 1.167 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.7191, allocations: 15.92 kB / 1.167 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 3.876e-05/0.7192, allocations: 0 / 1.167 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.7192, allocations: 11.94 kB / 1.167 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.15e-05/0.7192, allocations: 0 / 1.167 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.782e-05/0.7192, allocations: 0 / 1.167 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.7193, allocations: 0 / 1.167 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.472e-05/0.7194, allocations: 23.97 kB / 1.167 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.017e-06/0.7194, allocations: 0 / 1.167 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.946e-05/0.7194, allocations: 7.984 kB / 1.167 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.36e-05/0.7195, allocations: 11.98 kB / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.7195, allocations: 0 / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7195, allocations: 0 / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.7195, allocations: 0 / 1.167 GB, free: 3.047 MB / 0.8887 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.0002669/0.7198, allocations: 319.6 kB / 1.167 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.7198, allocations: 12.91 kB / 1.167 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.7199, allocations: 30.75 kB / 1.167 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.7201, allocations: 16.91 kB / 1.167 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.604e-05/0.7202, allocations: 164.4 kB / 1.167 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.7202, allocations: 384 / 1.167 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.7202, allocations: 384 / 1.167 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.7203, allocations: 42.19 kB / 1.167 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.7204, allocations: 7.875 kB / 1.167 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.7204, allocations: 0 / 1.167 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.7204, allocations: 3.938 kB / 1.167 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.189e-05/0.7205, allocations: 11.98 kB / 1.167 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.7206, allocations: 149.7 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.053e-05/0.7207, allocations: 22.61 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.7207, allocations: 12.91 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.7208, allocations: 3.984 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.7208, allocations: 34.5 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.7208, allocations: 0 / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0002243/0.721, allocations: 53.61 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.7211, allocations: 55.53 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.162e-05/0.7211, allocations: 89.86 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.7211, allocations: 25.7 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.7212, allocations: 80.14 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.7212, allocations: 0 / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.7212, allocations: 13.72 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.7213, allocations: 310.8 kB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.846e-05/0.7214, allocations: 7.984 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.7214, allocations: 12 kB / 1.168 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.24e-05/0.7215, allocations: 16.78 kB / 1.168 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7215, allocations: 0 / 1.168 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001181/0.7217, allocations: 45.59 kB / 1.168 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.7217, allocations: 4 kB / 1.168 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.7217, allocations: 7.922 kB / 1.168 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.7217, allocations: 4.094 kB / 1.168 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.7218, allocations: 4 kB / 1.168 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.7218, allocations: 0 / 1.168 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.131e-05/0.7218, allocations: 0 / 1.168 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.7219, allocations: 4 kB / 1.168 GB, free: 1.277 MB / 0.8887 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.181e-05/0.7219, allocations: 109.8 kB / 1.168 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.7219, allocations: 0 / 1.168 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.722, allocations: 11.06 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.722, allocations: 4 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.722, allocations: 3.938 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.722, allocations: 4 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.945e-05/0.7221, allocations: 141.7 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7221, allocations: 0 / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.7222, allocations: 15.92 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7222, allocations: 0 / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.7222, allocations: 3.938 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.7222, allocations: 0 / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7222, allocations: 3.938 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.7224, allocations: 73.11 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.7224, allocations: 79.36 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.7224, allocations: 3.938 kB / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.096e-05/0.7225, allocations: 0 / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.7225, allocations: 4 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.7225, allocations: 0 / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.661e-05/0.7225, allocations: 79.31 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7225, allocations: 0 / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001949/0.7227, allocations: 0 / 1.169 GB, free: 0.6523 MB / 0.8887 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.0004507/0.7232, allocations: 0.607 MB / 1.169 GB, free: 16 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.7233, allocations: 16.02 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7234, allocations: 0 / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 6.347e-05/0.7234, allocations: 11.92 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.7236, allocations: 8 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.724, allocations: 110.6 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.7242, allocations: 0.6691 MB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.389e-05/0.7243, allocations: 8 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.7243, allocations: 11.42 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.7243, allocations: 0 / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.741, allocations: 0.9472 MB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.717, allocations: 16.86 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches