Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.001378/0.001378, allocations: 109 kB / 17.54 MB, free: 4.746 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.001413/0.001413, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.31/1.31, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] 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.511/2.511, allocations: 476.7 MB / 0.7628 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 177] 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.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 71.89 kB / 1.107 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7727/0.7745, allocations: 168.7 MB / 1.271 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001425/0.776, allocations: 0.5974 MB / 1.272 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005343/0.7765, allocations: 329.7 kB / 1.272 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.472e-05/0.7765, allocations: 0.5938 kB / 1.272 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.073e-05/0.7765, allocations: 0 / 1.272 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-06/0.7765, allocations: 0.8125 kB / 1.272 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.7769, allocations: 112 kB / 1.272 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.862e-05/0.777, allocations: 5.328 kB / 1.272 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.21e-05/0.777, allocations: 1.422 kB / 1.272 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.078e-05/0.777, allocations: 0.75 kB / 1.272 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.787e-05/0.777, allocations: 1.359 kB / 1.272 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.035e-06/0.777, allocations: 0.6875 kB / 1.272 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.7775, allocations: 277 kB / 1.273 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.7775, allocations: 0 / 1.273 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.7775, allocations: 12.23 kB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.7776, allocations: 81.41 kB / 1.273 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.7776, allocations: 0.9688 kB / 1.273 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7776, allocations: 0 / 1.273 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.7776, allocations: 0 / 1.273 GB, free: 6.855 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.0002194/0.7779, allocations: 334.6 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.7779, allocations: 12.44 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.908e-05/0.7779, allocations: 35.41 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.778, allocations: 5.781 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.012e-05/0.778, allocations: 164.4 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.778, allocations: 1.094 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-06/0.778, allocations: 1.25 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.11e-05/0.7781, allocations: 33.02 kB / 1.273 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.7781, allocations: 3.938 kB / 1.273 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.7781, allocations: 0.8125 kB / 1.273 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.7781, allocations: 0 / 1.273 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.464e-05/0.7781, allocations: 1.719 kB / 1.273 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.645e-05/0.7782, allocations: 148.6 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.904e-05/0.7782, allocations: 20.33 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.199e-05/0.7782, allocations: 5.672 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000344/0.7786, allocations: 425.3 kB / 1.274 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.7786, allocations: 43.34 kB / 1.274 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.7786, allocations: 0 / 1.274 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.000121/0.7787, allocations: 39.41 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.7787, allocations: 53.44 kB / 1.274 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.231e-05/0.7787, allocations: 89.86 kB / 1.274 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.99e-06/0.7788, allocations: 25.7 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.945e-06/0.7788, allocations: 80.83 kB / 1.274 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.7788, allocations: 7.969 kB / 1.274 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.009e-05/0.7788, allocations: 13.34 kB / 1.274 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.249e-05/0.7788, allocations: 315.5 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-06/0.7788, allocations: 0.8125 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-06/0.7788, allocations: 1.531 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.042e-05/0.7789, allocations: 14.86 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.7789, allocations: 0 / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.254e-05/0.7789, allocations: 34.97 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.7789, allocations: 5.125 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.7789, allocations: 8.031 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.7789, allocations: 0.7812 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.31e-05/0.779, allocations: 1.562 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-06/0.779, allocations: 0.9062 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.744e-06/0.779, allocations: 0 / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.779, allocations: 4.812 kB / 1.275 GB, free: 4.766 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 3.076e-05/0.779, allocations: 108.5 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.779, allocations: 0.75 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.625e-05/0.7791, allocations: 52.69 kB / 1.275 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.7791, allocations: 0 / 1.275 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.7791, allocations: 0.8125 kB / 1.275 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.7791, allocations: 0 / 1.275 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.834e-05/0.7792, allocations: 149.4 kB / 1.275 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.7792, allocations: 0 / 1.275 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.7792, allocations: 1.625 kB / 1.275 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.7792, allocations: 0.8438 kB / 1.275 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-06/0.7792, allocations: 3.938 kB / 1.275 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.7792, allocations: 3.234 kB / 1.275 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.7792, allocations: 4.031 kB / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.282e-05/0.7792, allocations: 59.88 kB / 1.275 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.7792, allocations: 82.12 kB / 1.275 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.7792, allocations: 7.938 kB / 1.275 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-06/0.7793, allocations: 3.188 kB / 1.275 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-06/0.7793, allocations: 4.891 kB / 1.275 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.7793, allocations: 1.031 kB / 1.275 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.858e-06/0.7793, allocations: 79.31 kB / 1.275 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.7793, allocations: 0 / 1.275 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001765/0.7794, allocations: 8.844 kB / 1.275 GB, free: 4.156 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.0002406/0.7797, allocations: 0.6072 MB / 1.276 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.662e-05/0.7797, allocations: 11.66 kB / 1.276 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7797, allocations: 0 / 1.276 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.961e-06/0.7798, allocations: 3.406 kB / 1.276 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.7799, allocations: 4.562 kB / 1.276 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002173/0.7801, allocations: 116.7 kB / 1.276 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.7802, allocations: 0.6721 MB / 1.277 GB, free: 18.71 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.414e-05/0.7802, allocations: 0.8438 kB / 1.277 GB, free: 18.71 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.132e-05/0.7802, allocations: 8.656 kB / 1.277 GB, free: 18.71 MB / 1.014 GB Notification: Performance of SimCode: time 3.5e-07/0.7802, allocations: 4 kB / 1.277 GB, free: 18.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.8028, allocations: 1.164 MB / 1.278 GB, free: 18.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.918/7.721, allocations: 24.62 kB / 1.278 GB, free: 18.34 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_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_RegNonZeroPower.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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: 13.097860244997719]