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.00443/0.00443, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001171/0.001171, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.359/2.359, allocations: 437.1 MB / 0.7106 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 71.89 kB / 1.018 GB, free: 9.809 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8539/0.8557, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001611/0.8574, allocations: 0.5967 MB / 1.167 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002487/0.8576, allocations: 49.77 kB / 1.167 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.398e-05/0.8576, allocations: 0 / 1.167 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.104e-05/0.8577, allocations: 0 / 1.167 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.262e-06/0.8577, allocations: 0 / 1.167 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.8579, allocations: 19.92 kB / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 3.914e-05/0.8579, allocations: 4 kB / 1.167 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.858, allocations: 3.984 kB / 1.167 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.21e-05/0.858, allocations: 0 / 1.167 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.219e-05/0.858, allocations: 4 kB / 1.167 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.925e-06/0.858, allocations: 4 kB / 1.167 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.8581, allocations: 19.92 kB / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.8582, allocations: 0 / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.8582, allocations: 3.984 kB / 1.167 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.182e-05/0.8583, allocations: 19.97 kB / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8583, allocations: 0 / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8583, allocations: 0 / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.8583, 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.0003079/0.8586, allocations: 312.6 kB / 1.167 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.8587, allocations: 12.03 kB / 1.167 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.8587, allocations: 42.62 kB / 1.167 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.8589, allocations: 16.91 kB / 1.167 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.859, allocations: 164.4 kB / 1.167 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.8591, allocations: 384 / 1.167 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.8591, allocations: 384 / 1.167 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.8592, allocations: 34.25 kB / 1.167 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.8592, allocations: 3.938 kB / 1.167 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.8592, allocations: 4 kB / 1.167 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.8592, allocations: 4 kB / 1.167 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.738e-05/0.8593, allocations: 7.984 kB / 1.168 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.8595, allocations: 148.4 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.787e-05/0.8596, allocations: 26.53 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.8596, allocations: 8.922 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.8597, allocations: 4 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.8597, allocations: 34.55 kB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.8597, allocations: 4 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0002291/0.8599, allocations: 49.58 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.86, allocations: 55.34 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.273e-05/0.86, allocations: 93.86 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.86, allocations: 25.83 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.8601, allocations: 84.14 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.8601, allocations: 3.984 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.8602, allocations: 9.719 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.8603, allocations: 314.8 kB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.33e-05/0.8603, allocations: 0 / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-05/0.8604, allocations: 7.984 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.425e-05/0.8605, allocations: 24.91 kB / 1.168 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8605, allocations: 0 / 1.168 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001276/0.8606, allocations: 37.69 kB / 1.168 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.8606, allocations: 7.938 kB / 1.168 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.8607, allocations: 11.94 kB / 1.168 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.8607, allocations: 0 / 1.168 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.8607, allocations: 3.984 kB / 1.168 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.8608, allocations: 7.938 kB / 1.168 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/0.8608, allocations: 8.016 kB / 1.168 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.8608, allocations: 0 / 1.168 GB, free: 1.273 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 6.972e-05/0.8609, allocations: 109.8 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.8609, allocations: 4 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.93e-05/0.8609, allocations: 7.062 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.8609, allocations: 3.984 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.861, allocations: 0 / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.861, allocations: 0 / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.8611, allocations: 149.7 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8611, allocations: 0 / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.8611, allocations: 7.984 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.8611, allocations: 0 / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.8611, allocations: 3.938 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.8611, allocations: 0 / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.8612, allocations: 4 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.8613, allocations: 69.06 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.8614, allocations: 81.09 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.8614, allocations: 3.938 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.982e-05/0.8614, allocations: 4 kB / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.8614, allocations: 0 / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.8614, allocations: 0 / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.253e-05/0.8615, allocations: 75.28 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.8615, allocations: 0 / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001709/0.8616, allocations: 4 kB / 1.169 GB, free: 0.6562 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.0004499/0.8621, allocations: 0.6071 MB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.8622, allocations: 15.92 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8623, allocations: 4.094 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 5.8e-05/0.8623, allocations: 7.984 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.0001243/0.8625, allocations: 4 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.8628, allocations: 106.6 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.8631, allocations: 0.6729 MB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.877e-05/0.8631, allocations: 4.062 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.8631, allocations: 7.438 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.8631, allocations: 0 / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2759/1.139, allocations: 0.9563 MB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.961/11.1, allocations: 4.547 kB / 1.171 GB, free: 14.26 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=400 --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