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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009986/0.0009986, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008377/0.0008377, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8979/0.8979, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.688/1.688, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.995e-06/2.995e-06, allocations: 0 / 0.9505 GB, free: 3.426 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.858e-05, allocations: 6.281 kB / 0.9506 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001999/0.002027, allocations: 0.5867 MB / 0.9511 GB, free: 2.828 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003484/0.002376, allocations: 47.8 kB / 0.9512 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.002402, allocations: 0 / 0.9512 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.002421, allocations: 0 / 0.9512 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.307e-06/0.00243, allocations: 4 kB / 0.9512 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.002738, allocations: 11.98 kB / 0.9512 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.414e-05/0.002792, allocations: 4 kB / 0.9512 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.002841, allocations: 0 / 0.9512 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.069e-05/0.002872, allocations: 4 kB / 0.9512 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.523e-05/0.002897, allocations: 3.984 kB / 0.9512 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.002913, allocations: 7.875 kB / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.003031, allocations: 19.92 kB / 0.9512 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.003047, allocations: 4 kB / 0.9512 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.003062, allocations: 0 / 0.9512 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.003171, allocations: 19.97 kB / 0.9512 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.003174, allocations: 0 / 0.9512 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.573e-06/0.003176, allocations: 4 kB / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.003181, allocations: 0 / 0.9513 GB, free: 2.699 MB / 0.9011 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.0002806/0.003461, allocations: 240.1 kB / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.003509, allocations: 11.97 kB / 0.9515 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.003543, allocations: 30.75 kB / 0.9515 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.003781, allocations: 24.86 kB / 0.9515 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.92e-05/0.00385, allocations: 105.8 kB / 0.9516 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.003863, allocations: 4.375 kB / 0.9516 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.003872, allocations: 384 / 0.9517 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.004005, allocations: 34.25 kB / 0.9517 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.004014, allocations: 192 / 0.9517 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.004023, allocations: 384 / 0.9517 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.00403, allocations: 4.125 kB / 0.9517 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.034e-05/0.0041, allocations: 15.92 kB / 0.9517 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001311/0.004231, allocations: 116.8 kB / 0.9518 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.865e-05/0.00431, allocations: 26.61 kB / 0.9518 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.004349, allocations: 12.91 kB / 0.9519 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.00437, allocations: 0 / 0.9519 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.004394, allocations: 34.56 kB / 0.9519 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/0.004395, allocations: 0 / 0.9519 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0002126/0.004608, allocations: 49.61 kB / 0.9519 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.004646, allocations: 59.33 kB / 0.952 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.527e-05/0.004681, allocations: 93.86 kB / 0.9521 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.004694, allocations: 29.83 kB / 0.9521 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.273e-05/0.004717, allocations: 80.14 kB / 0.9522 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.004746, allocations: 3.938 kB / 0.9522 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.004779, allocations: 13.72 kB / 0.9522 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.004873, allocations: 310.8 kB / 0.9525 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.244e-05/0.004916, allocations: 7.984 kB / 0.9525 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.038e-05/0.004946, allocations: 4 kB / 0.9525 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.817e-05/0.005024, allocations: 12.84 kB / 0.9525 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.005026, allocations: 4.062 kB / 0.9525 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001117/0.005138, allocations: 49.62 kB / 0.9526 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.005153, allocations: 4 kB / 0.9526 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.005164, allocations: 0 / 0.9526 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.005182, allocations: 0 / 0.9526 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.627e-05/0.005258, allocations: 7.984 kB / 0.9526 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.005265, allocations: 3.938 kB / 0.9526 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.005288, allocations: 0 / 0.9526 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.005296, allocations: 8.031 kB / 0.9526 GB, free: 1.129 MB / 0.9011 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.588e-05/0.005362, allocations: 109.8 kB / 0.9527 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.005369, allocations: 0 / 0.9527 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.005405, allocations: 6.984 kB / 0.9527 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.005407, allocations: 0 / 0.9527 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.005413, allocations: 7.938 kB / 0.9527 GB, free: 1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.005416, allocations: 3.938 kB / 0.9527 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.937e-05/0.005495, allocations: 116.8 kB / 0.9528 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.005497, allocations: 0 / 0.9528 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.005533, allocations: 7.984 kB / 0.9528 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.005535, allocations: 4 kB / 0.9528 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.005542, allocations: 0 / 0.9528 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.005543, allocations: 0 / 0.9528 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.005546, allocations: 3.938 kB / 0.9528 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.005666, allocations: 65.06 kB / 0.9529 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-06/0.005671, allocations: 0 / 0.9529 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.005684, allocations: 7.984 kB / 0.9529 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2e-05/0.005704, allocations: 0 / 0.9529 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.005716, allocations: 3.938 kB / 0.9529 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.005719, allocations: 4.031 kB / 0.9529 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.501e-05/0.005744, allocations: 75.28 kB / 0.953 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.005745, allocations: 0 / 0.953 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000213/0.005957, allocations: 11.94 kB / 0.953 GB, free: 0.6406 MB / 0.9011 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.000378/0.006335, allocations: 0.5929 MB / 0.9536 GB, free: 16 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.006461, allocations: 15.98 kB / 0.9536 GB, free: 0 / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.006463, allocations: 4.141 kB / 0.9536 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.648e-05/0.0065, allocations: 7.984 kB / 0.9536 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.006657, allocations: 7.938 kB / 0.9536 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.007024, allocations: 110.5 kB / 0.9537 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.968e-05/0.007064, allocations: 55.36 kB / 0.9538 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.712e-05/0.007101, allocations: 4.062 kB / 0.9538 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.007129, allocations: 8.5 kB / 0.9538 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of SimCode: time 6.52e-07/0.00713, allocations: 0 / 0.9538 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/0.0233, allocations: 1.602 MB / 0.9554 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.745/6.768, allocations: 11.45 kB / 0.9554 GB, free: 14.27 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.810955878347158]