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.001709/0.001709, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.002065/0.002065, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.482/1.482, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.842/2.842, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 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.001948/0.001948, allocations: 75.81 kB / 1.104 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8299/0.8318, allocations: 168.7 MB / 1.269 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001818/0.8337, allocations: 0.5824 MB / 1.269 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003393/0.834, allocations: 53.73 kB / 1.269 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.642e-05/0.834, allocations: 0 / 1.269 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.834, allocations: 0 / 1.269 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.473e-06/0.834, allocations: 3.938 kB / 1.269 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.8343, allocations: 7.984 kB / 1.269 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.699e-05/0.8343, allocations: 3.938 kB / 1.269 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.8344, allocations: 12 kB / 1.269 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.449e-05/0.8344, allocations: 3.938 kB / 1.269 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.448e-05/0.8344, allocations: 3.984 kB / 1.269 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.8344, allocations: 0 / 1.269 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.8345, allocations: 23.97 kB / 1.269 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.8346, allocations: 0 / 1.269 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.52e-05/0.8346, allocations: 0 / 1.269 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.85e-05/0.8347, allocations: 15.98 kB / 1.269 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8347, allocations: 0 / 1.269 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8347, allocations: 0 / 1.269 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.8347, allocations: 3.938 kB / 1.269 GB, free: 4.422 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.0003672/0.835, allocations: 325.3 kB / 1.27 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.8351, allocations: 8.031 kB / 1.27 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.8351, allocations: 30.75 kB / 1.27 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002364/0.8354, allocations: 24.91 kB / 1.27 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.8355, allocations: 160.4 kB / 1.27 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.8355, allocations: 384 / 1.27 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.8355, allocations: 384 / 1.27 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.8356, allocations: 42.25 kB / 1.27 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.8356, allocations: 3.938 kB / 1.27 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.8356, allocations: 3.938 kB / 1.27 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.8356, allocations: 0 / 1.27 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.265e-05/0.8357, allocations: 11.98 kB / 1.27 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.8359, allocations: 149.6 kB / 1.27 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.821e-05/0.836, allocations: 22.61 kB / 1.27 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.836, allocations: 16.91 kB / 1.27 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.8361, allocations: 0 / 1.27 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.8361, allocations: 30.56 kB / 1.27 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.8361, allocations: 0 / 1.27 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002416/0.8363, allocations: 53.55 kB / 1.27 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.8364, allocations: 55.53 kB / 1.27 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.821e-05/0.8364, allocations: 89.86 kB / 1.27 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.8364, allocations: 25.7 kB / 1.27 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.8365, allocations: 80.14 kB / 1.271 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.8365, allocations: 0 / 1.271 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.8366, allocations: 17.72 kB / 1.271 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.8367, allocations: 310.8 kB / 1.271 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/0.8368, allocations: 11.98 kB / 1.271 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.713e-05/0.8368, allocations: 4 kB / 1.271 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.611e-05/0.8369, allocations: 12.84 kB / 1.271 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8369, allocations: 0 / 1.271 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001236/0.837, allocations: 49.61 kB / 1.271 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.837, allocations: 4 kB / 1.271 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.837, allocations: 7.969 kB / 1.271 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.837, allocations: 4 kB / 1.271 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.192e-05/0.8371, allocations: 4 kB / 1.271 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.8371, allocations: 3.984 kB / 1.271 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.834e-05/0.8372, allocations: 11.98 kB / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.8372, allocations: 0 / 1.271 GB, free: 2.645 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 8.806e-05/0.8373, allocations: 105.8 kB / 1.271 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/0.8373, allocations: 0 / 1.271 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.8373, allocations: 11.06 kB / 1.271 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.8373, allocations: 3.984 kB / 1.271 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.8373, allocations: 4 kB / 1.271 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.8373, allocations: 0 / 1.271 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.8374, allocations: 149.7 kB / 1.271 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8374, allocations: 3.938 kB / 1.271 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.8375, allocations: 4 kB / 1.271 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.8375, allocations: 0 / 1.271 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.8375, allocations: 3.938 kB / 1.271 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8375, allocations: 0 / 1.271 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8375, allocations: 4 kB / 1.271 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.8377, allocations: 77.05 kB / 1.271 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.8377, allocations: 77.11 kB / 1.271 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.8377, allocations: 3.938 kB / 1.271 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.066e-05/0.8378, allocations: 0 / 1.271 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.8378, allocations: 7.984 kB / 1.271 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.8378, allocations: 0 / 1.271 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.654e-05/0.8378, allocations: 79.31 kB / 1.271 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.8378, allocations: 0 / 1.271 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001769/0.838, allocations: 0 / 1.271 GB, free: 2.023 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.0005437/0.8385, allocations: 0.6051 MB / 1.272 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001394/0.8387, allocations: 19.97 kB / 1.272 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8387, allocations: 0 / 1.272 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.137e-05/0.8387, allocations: 4 kB / 1.272 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.8388, allocations: 6.344 kB / 1.272 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.8392, allocations: 118.6 kB / 1.272 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.8396, allocations: 0.6769 MB / 1.273 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.082e-05/0.8396, allocations: 4 kB / 1.273 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.8396, allocations: 7.438 kB / 1.273 GB, free: 500 kB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.8396, allocations: 0 / 1.273 GB, free: 500 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.863, allocations: 0.9702 MB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.256/9.119, allocations: 5 kB / 1.274 GB, free: 15.61 MB / 0.9825 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 --stepSize=0.0008 --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.305819894187152]