Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.001614/0.001614, allocations: 106.6 kB / 16.45 MB, free: 6.453 MB / 14.72 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.002017/0.002017, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.527/1.527, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.371/3.371, allocations: 0.505 GB / 0.8066 GB, free: 23.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.RegNonZeroPower,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 76.03 kB / 1.172 GB, free: 17.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4387, allocations: 180.2 MB / 1.348 GB, free: 9.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001925/0.4406, allocations: 0.568 MB / 1.348 GB, free: 9.387 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0008125/0.4414, allocations: 339.1 kB / 1.349 GB, free: 9.055 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.559e-05/0.4414, allocations: 4 kB / 1.349 GB, free: 9.051 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.244e-05/0.4414, allocations: 0 / 1.349 GB, free: 9.051 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-06/0.4414, allocations: 0 / 1.349 GB, free: 9.051 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.4419, allocations: 107.6 kB / 1.349 GB, free: 8.945 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.807e-05/0.442, allocations: 0 / 1.349 GB, free: 8.945 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.442, allocations: 7.984 kB / 1.349 GB, free: 8.938 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.76e-05/0.4421, allocations: 3.984 kB / 1.349 GB, free: 8.934 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.424e-05/0.4421, allocations: 0 / 1.349 GB, free: 8.934 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.4421, allocations: 0 / 1.349 GB, free: 8.934 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004534/0.4425, allocations: 279.7 kB / 1.349 GB, free: 8.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.4426, allocations: 0 / 1.349 GB, free: 8.66 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.4426, allocations: 0 / 1.349 GB, free: 8.66 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.4428, allocations: 88.02 kB / 1.349 GB, free: 8.574 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.4428, allocations: 0 / 1.349 GB, free: 8.574 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4428, allocations: 3.938 kB / 1.349 GB, free: 8.57 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.4428, allocations: 0 / 1.349 GB, free: 8.57 MB / 1.045 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.0004076/0.4432, allocations: 335.3 kB / 1.349 GB, free: 8.191 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4432, allocations: 15.98 kB / 1.349 GB, free: 8.176 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.4433, allocations: 38.73 kB / 1.35 GB, free: 8.129 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.4433, allocations: 0.9375 kB / 1.35 GB, free: 8.129 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.4434, allocations: 160.4 kB / 1.35 GB, free: 7.934 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.4435, allocations: 384 / 1.35 GB, free: 7.934 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.4435, allocations: 384 / 1.35 GB, free: 7.934 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.4436, allocations: 30.27 kB / 1.35 GB, free: 7.898 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4436, allocations: 7.875 kB / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.4436, allocations: 0 / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4436, allocations: 0 / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.089e-05/0.4436, allocations: 4 kB / 1.35 GB, free: 7.887 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.4438, allocations: 157.7 kB / 1.35 GB, free: 7.684 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.362e-05/0.4438, allocations: 14.58 kB / 1.35 GB, free: 7.66 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.4438, allocations: 8.953 kB / 1.35 GB, free: 7.648 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005749/0.4444, allocations: 425.5 kB / 1.35 GB, free: 7.141 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.4444, allocations: 38.56 kB / 1.35 GB, free: 7.094 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.4444, allocations: 0 / 1.35 GB, free: 7.094 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001688/0.4446, allocations: 37.58 kB / 1.35 GB, free: 7.051 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.4447, allocations: 55.39 kB / 1.35 GB, free: 6.984 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.208e-05/0.4447, allocations: 89.86 kB / 1.351 GB, free: 6.887 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.4447, allocations: 25.7 kB / 1.351 GB, free: 6.855 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.4448, allocations: 84.14 kB / 1.351 GB, free: 6.77 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.4448, allocations: 12.02 kB / 1.351 GB, free: 6.758 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.4448, allocations: 13.72 kB / 1.351 GB, free: 6.738 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.445, allocations: 310.8 kB / 1.351 GB, free: 6.426 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.445, allocations: 4 kB / 1.351 GB, free: 6.422 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.79e-06/0.445, allocations: 0 / 1.351 GB, free: 6.422 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.074e-05/0.445, allocations: 12.8 kB / 1.351 GB, free: 6.406 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.445, allocations: 3.938 kB / 1.351 GB, free: 6.402 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.022e-05/0.4451, allocations: 37.69 kB / 1.351 GB, free: 6.359 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.4451, allocations: 8.094 kB / 1.351 GB, free: 6.352 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4451, allocations: 3.938 kB / 1.351 GB, free: 6.348 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.4451, allocations: 4 kB / 1.351 GB, free: 6.344 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.666e-05/0.4452, allocations: 0 / 1.351 GB, free: 6.344 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4452, allocations: 0 / 1.351 GB, free: 6.344 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-06/0.4452, allocations: 0 / 1.351 GB, free: 6.344 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.4452, allocations: 0 / 1.351 GB, free: 6.344 MB / 1.045 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 9.473e-05/0.4453, allocations: 109.8 kB / 1.351 GB, free: 6.227 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.4453, allocations: 0 / 1.351 GB, free: 6.227 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.4454, allocations: 52.69 kB / 1.351 GB, free: 6.164 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.4454, allocations: 0 / 1.351 GB, free: 6.164 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4454, allocations: 0 / 1.351 GB, free: 6.164 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.4454, allocations: 4 kB / 1.351 GB, free: 6.16 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.4455, allocations: 141.7 kB / 1.351 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4455, allocations: 3.984 kB / 1.351 GB, free: 5.969 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-05/0.4456, allocations: 3.984 kB / 1.351 GB, free: 5.965 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.4456, allocations: 0 / 1.351 GB, free: 5.965 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.4456, allocations: 7.938 kB / 1.351 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.4456, allocations: 4.031 kB / 1.351 GB, free: 5.953 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4456, allocations: 0 / 1.351 GB, free: 5.953 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.4457, allocations: 57.08 kB / 1.351 GB, free: 5.879 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.4457, allocations: 85.09 kB / 1.351 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.4457, allocations: 3.938 kB / 1.351 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-06/0.4458, allocations: 0 / 1.351 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.4458, allocations: 0 / 1.351 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.4458, allocations: 4.031 kB / 1.351 GB, free: 5.77 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.647e-05/0.4458, allocations: 79.28 kB / 1.352 GB, free: 5.691 MB / 1.045 GB Notification: Performance of sort global known variables: time 5e-08/0.4458, allocations: 0 / 1.352 GB, free: 5.691 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001905/0.446, allocations: 15.94 kB / 1.352 GB, free: 5.676 MB / 1.045 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.0004991/0.4465, allocations: 0.6007 MB / 1.352 GB, free: 5.043 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.07e-05/0.4466, allocations: 11.97 kB / 1.352 GB, free: 5.031 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4466, allocations: 0 / 1.352 GB, free: 5.031 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.586e-06/0.4466, allocations: 7.922 kB / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.4467, allocations: 9.656 kB / 1.352 GB, free: 5.016 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.447, allocations: 114.4 kB / 1.352 GB, free: 4.863 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.4474, allocations: 0.669 MB / 1.353 GB, free: 4.168 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.997e-05/0.4474, allocations: 7.969 kB / 1.353 GB, free: 4.16 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.908e-05/0.4474, allocations: 15.56 kB / 1.353 GB, free: 4.148 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.4474, allocations: 0 / 1.353 GB, free: 4.148 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.472, allocations: 1.18 MB / 1.354 GB, free: 3.078 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.483, allocations: 10.92 kB / 1.354 GB, free: 3.07 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.702501063002273]