Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.001771/0.001771, 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.002266/0.002266, allocations: 217.8 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.619/1.619, allocations: 230.6 MB / 256 MB, free: 8.035 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.34/3.34, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.002093/0.002093, allocations: 73.48 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4014, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001838/0.4032, allocations: 0.6137 MB / 1.327 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007159/0.4039, allocations: 347.2 kB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.4039, allocations: 0 / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.404, allocations: 0 / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 1.965e-05/0.404, allocations: 3.938 kB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.4044, allocations: 115.7 kB / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.519e-05/0.4045, allocations: 7.984 kB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.4045, allocations: 0 / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.049e-05/0.4045, allocations: 8 kB / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.38e-05/0.4046, allocations: 7.922 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.4046, allocations: 4 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004185/0.405, allocations: 271.7 kB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.405, allocations: 4 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.4051, allocations: 11.92 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.4052, allocations: 92 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4053, allocations: 4 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4053, allocations: 4 kB / 1.327 GB, free: 484 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.4053, allocations: 0 / 1.327 GB, free: 484 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003649/0.4056, allocations: 270.1 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.4057, allocations: 8.031 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.4057, allocations: 30.75 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.4058, allocations: 4.938 kB / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.4059, allocations: 106.5 kB / 1.328 GB, free: 16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.4059, allocations: 4.312 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.4059, allocations: 8.359 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.406, allocations: 38.27 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.406, allocations: 3.938 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.406, allocations: 0 / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.406, allocations: 0 / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.112e-05/0.4061, allocations: 4 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.4062, allocations: 128.7 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.297e-05/0.4063, allocations: 22.52 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.4063, allocations: 12.84 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005768/0.4069, allocations: 71.98 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.4069, allocations: 38.56 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.4069, allocations: 0 / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005137/0.4074, allocations: 177.2 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.4075, allocations: 51.41 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.4076, allocations: 97.84 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4076, allocations: 25.7 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.4077, allocations: 88.48 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.4077, allocations: 7.953 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.4077, allocations: 17.72 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4079, allocations: 314.8 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.302e-05/0.4079, allocations: 11.92 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/0.4079, allocations: 17.77 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.184e-05/0.408, allocations: 25.72 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.408, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001013/0.4081, allocations: 57.67 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4081, allocations: 11.94 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4081, allocations: 3.984 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4081, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.4082, allocations: 12 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.4082, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.4082, allocations: 3.984 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.4082, allocations: 8.062 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.337e-05/0.4083, allocations: 109.8 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.4083, allocations: 3.938 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.4084, allocations: 53.31 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.4084, allocations: 4 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4085, allocations: 3.938 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4085, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.4086, allocations: 132.7 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4086, allocations: 0 / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.4086, allocations: 7.984 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.4086, allocations: 7.875 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.4086, allocations: 0 / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4086, allocations: 4 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4086, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.4088, allocations: 77.06 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-06/0.4088, allocations: 4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.4088, allocations: 8.031 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.985e-05/0.4088, allocations: 3.984 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.4089, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.4089, allocations: 4 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.304e-05/0.4089, allocations: 79.28 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4089, allocations: 0 / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000221/0.4091, allocations: 23.94 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0005456/0.4097, allocations: 0.6475 MB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.444e-05/0.4098, allocations: 16 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.4098, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.659e-05/0.4098, allocations: 7.984 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.4099, allocations: 6.062 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.411, allocations: 1.143 MB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.4113, allocations: 0.6768 MB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.784e-05/0.4114, allocations: 8.219 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.4114, allocations: 15.44 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4114, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.442, allocations: 1.847 MB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.17, allocations: 4.031 kB / 1.334 GB, free: 9.617 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable x in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable x from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! Error: Could not read variable der(x) in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable der(x) from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! Error: Could not read variable der(y) in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable der(y) from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.450195460998657]