Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001559/0.001559, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001543/0.001543, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.36/3.36, allocations: 0.49 GB / 0.7951 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.RegNonZeroPower,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_12_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.002066/0.002066, allocations: 69.88 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.401, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001738/0.4027, allocations: 0.5881 MB / 1.327 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007223/0.4034, allocations: 339.2 kB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.038e-05/0.4035, allocations: 0 / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.4035, allocations: 0 / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.372e-06/0.4035, allocations: 0 / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.4039, allocations: 111.6 kB / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.369e-05/0.404, allocations: 0 / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.404, allocations: 4 kB / 1.327 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.364e-05/0.404, allocations: 4 kB / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.461e-05/0.4041, allocations: 0 / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.988e-06/0.4041, allocations: 0 / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000437/0.4045, allocations: 279.6 kB / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.006e-06/0.4045, allocations: 0 / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.593e-05/0.4045, allocations: 0 / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.4047, allocations: 95.94 kB / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4047, allocations: 0 / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4047, allocations: 0 / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.4047, allocations: 0 / 1.327 GB, free: 0.5117 MB / 1.014 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.0003312/0.4051, allocations: 266.2 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4051, allocations: 8.031 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.4051, allocations: 30.75 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.4052, allocations: 4.938 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.447e-05/0.4053, allocations: 110.5 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.4053, allocations: 384 / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.4053, allocations: 384 / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.4054, allocations: 34.19 kB / 1.328 GB, free: 16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4054, allocations: 3.938 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-06/0.4055, allocations: 0 / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.4055, allocations: 8 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.829e-05/0.4055, allocations: 0 / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.4056, allocations: 112.8 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.476e-05/0.4057, allocations: 22.61 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.4057, allocations: 4.859 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003689/0.406, allocations: 51.95 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.4061, allocations: 30.56 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.4061, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001566/0.4062, allocations: 33.64 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.4063, allocations: 51.41 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.277e-05/0.4063, allocations: 89.86 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.4063, allocations: 29.7 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.4064, allocations: 92.25 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.4064, allocations: 11.83 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.4064, allocations: 9.719 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4066, allocations: 310.8 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.4066, allocations: 4 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.056e-06/0.4066, allocations: 3.938 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.392e-05/0.4066, allocations: 8.859 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.4066, allocations: 4.062 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.554e-05/0.4067, allocations: 33.7 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4067, allocations: 9.859 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4067, allocations: 7.938 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4067, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.791e-05/0.4068, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.4068, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.927e-06/0.4068, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.4068, allocations: 4 kB / 1.329 GB, free: 14.95 MB / 1.029 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.356e-05/0.4069, allocations: 110.4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.4069, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.823e-05/0.407, allocations: 48.56 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.407, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.407, allocations: 4 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.407, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.595e-05/0.4071, allocations: 116.8 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.4071, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-05/0.4071, allocations: 4 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4071, allocations: 4.031 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.4071, allocations: 7.922 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4071, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4071, allocations: 4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.103e-05/0.4072, allocations: 61.08 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-06/0.4072, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.4072, allocations: 3.938 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-06/0.4072, allocations: 32 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.4073, allocations: 7.984 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.4073, allocations: 4 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.141e-05/0.4073, allocations: 75.28 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4073, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002032/0.4075, allocations: 15.88 kB / 1.329 GB, free: 14.41 MB / 1.029 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.0004573/0.408, allocations: 0.6086 MB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.112e-05/0.408, allocations: 3.938 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.408, allocations: 4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.681e-06/0.408, allocations: 3.938 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.4082, allocations: 7.938 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.4085, allocations: 114.6 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.4088, allocations: 0.6691 MB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.631e-05/0.4088, allocations: 4 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.4088, allocations: 7.438 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4088, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.4389, allocations: 1.281 MB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.07, allocations: 8.859 kB / 1.332 GB, free: 11.74 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.199179600000207]