Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.897/2.897, allocations: 476.7 MB / 0.7629 GB, free: 15.08 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 67.89 kB / 1.107 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9545/0.9568, allocations: 168.7 MB / 1.272 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001985/0.9587, allocations: 0.5901 MB / 1.272 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002916/0.959, allocations: 54.17 kB / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.13e-05/0.9591, allocations: 0 / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.9591, allocations: 0.875 kB / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.637e-06/0.9591, allocations: 0 / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.9593, allocations: 15.69 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.638e-05/0.9594, allocations: 2.969 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.9594, allocations: 2.188 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.32e-05/0.9594, allocations: 0.9062 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.339e-05/0.9595, allocations: 2.141 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.779e-06/0.9595, allocations: 0.625 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.9596, allocations: 27.31 kB / 1.272 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.9596, allocations: 5.594 kB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.9596, allocations: 0.8438 kB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.878e-05/0.9597, allocations: 16.48 kB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.9597, allocations: 0.9844 kB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.52e-07/0.9597, allocations: 0.7812 kB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.9597, allocations: 0 / 1.272 GB, free: 7.258 MB / 0.9981 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.0002445/0.96, allocations: 318.6 kB / 1.273 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.96, allocations: 9.938 kB / 1.273 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.843e-05/0.96, allocations: 31.69 kB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002542/0.9603, allocations: 22.05 kB / 1.273 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.142e-05/0.9604, allocations: 161.7 kB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.9604, allocations: 1.094 kB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.9604, allocations: 1.219 kB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.9605, allocations: 35.28 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.9605, allocations: 7.875 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.9605, allocations: 0.8125 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.9605, allocations: 7.938 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.096e-05/0.9606, allocations: 10.02 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.9607, allocations: 148.1 kB / 1.273 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.781e-05/0.9608, allocations: 21.44 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.9609, allocations: 9.75 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.9609, allocations: 0.7188 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.9609, allocations: 35.7 kB / 1.273 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.9609, allocations: 0.625 kB / 1.273 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0002418/0.9612, allocations: 55.72 kB / 1.273 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.9612, allocations: 51.41 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.58e-05/0.9612, allocations: 91.64 kB / 1.273 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.515e-06/0.9612, allocations: 25.7 kB / 1.273 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.879e-06/0.9612, allocations: 85.2 kB / 1.273 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.9612, allocations: 0 / 1.273 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.9613, allocations: 12.98 kB / 1.273 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.846e-05/0.9613, allocations: 312.3 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.928e-05/0.9614, allocations: 8.219 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-05/0.9614, allocations: 5.281 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.384e-05/0.9615, allocations: 27.45 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.9615, allocations: 0.7812 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001153/0.9616, allocations: 39.72 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.9616, allocations: 5.094 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.9616, allocations: 6.312 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.9617, allocations: 0 / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.067e-05/0.9617, allocations: 3.484 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.9617, allocations: 5.375 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.187e-05/0.9618, allocations: 5.594 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.9618, allocations: 2.391 kB / 1.274 GB, free: 5.637 MB / 0.9981 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 4.632e-05/0.9618, allocations: 111.2 kB / 1.274 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.9618, allocations: 4.562 kB / 1.274 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.9619, allocations: 7.812 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.9619, allocations: 1.953 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.9619, allocations: 0 / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.9619, allocations: 0 / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.391e-05/0.9619, allocations: 145.7 kB / 1.274 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.9619, allocations: 4 kB / 1.274 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.962, allocations: 8.422 kB / 1.274 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.962, allocations: 4.75 kB / 1.274 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.962, allocations: 5.281 kB / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.962, allocations: 0 / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.962, allocations: 1.812 kB / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.9621, allocations: 68.64 kB / 1.274 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.9622, allocations: 78.16 kB / 1.274 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.9622, allocations: 9.203 kB / 1.274 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.105e-05/0.9622, allocations: 2.078 kB / 1.274 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.9622, allocations: 1.297 kB / 1.274 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.9622, allocations: 1.328 kB / 1.274 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.457e-05/0.9622, allocations: 79.97 kB / 1.274 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.9622, allocations: 0 / 1.274 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001928/0.9624, allocations: 1.219 kB / 1.274 GB, free: 5.055 MB / 0.9981 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.0003272/0.9628, allocations: 0.612 MB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001522/0.9629, allocations: 12.62 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9629, allocations: 4.094 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.353e-05/0.963, allocations: 6.266 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.9631, allocations: 1.656 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.9634, allocations: 136.4 kB / 1.275 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.664e-05/0.9635, allocations: 0.6717 MB / 1.276 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.9635, allocations: 5.125 kB / 1.276 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.9636, allocations: 8.922 kB / 1.276 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.9636, allocations: 0 / 1.276 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.9865, allocations: 0.9362 MB / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/9.116, allocations: 13.56 kB / 1.277 GB, free: 3.246 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.445203197014052]