Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001889/0.001889, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002329/0.002329, allocations: 205.9 kB / 22.24 MB, free: 5.258 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.829/2.829, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_11_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.002173/0.002173, allocations: 66.5 kB / 1.117 GB, free: 40.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3561, allocations: 169.9 MB / 1.283 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001823/0.3579, allocations: 0.6165 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007122/0.3586, allocations: 314.9 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.3586, allocations: 0 / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.3586, allocations: 0 / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.048e-05/0.3587, allocations: 0 / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004617/0.3591, allocations: 117.3 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.298e-05/0.3592, allocations: 15.94 kB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.3592, allocations: 0 / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.108e-05/0.3593, allocations: 7.984 kB / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.053e-05/0.3593, allocations: 3.984 kB / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.3593, allocations: 0 / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003974/0.3597, allocations: 259.6 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.3597, allocations: 0 / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.3598, allocations: 7.984 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.3599, allocations: 99.23 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3599, allocations: 0 / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3599, allocations: 7.938 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.36, allocations: 0 / 1.284 GB, free: 10.86 MB / 0.9825 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.000366/0.3603, allocations: 262.2 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3604, allocations: 8.031 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.3604, allocations: 34.75 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.3605, allocations: 4.938 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.3606, allocations: 114.4 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3606, allocations: 384 / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.3606, allocations: 4.375 kB / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.3607, allocations: 63.91 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3607, allocations: 3.938 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3607, allocations: 4 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3607, allocations: 0 / 1.284 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.198e-05/0.3608, allocations: 7.984 kB / 1.284 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.3609, allocations: 120.8 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.689e-05/0.361, allocations: 18.58 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.361, allocations: 8.844 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005704/0.3616, allocations: 83.98 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3616, allocations: 34.5 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3616, allocations: 0 / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000501/0.3621, allocations: 181.4 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.3622, allocations: 55.41 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.109e-05/0.3622, allocations: 97.84 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3623, allocations: 25.7 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.3623, allocations: 80.14 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.3623, allocations: 11.95 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.3624, allocations: 9.719 kB / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3625, allocations: 322.8 kB / 1.285 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.3625, allocations: 4 kB / 1.285 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.923e-05/0.3626, allocations: 17.75 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.072e-05/0.3626, allocations: 33.78 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3626, allocations: 7.938 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001/0.3627, allocations: 49.69 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3627, allocations: 7.938 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3627, allocations: 0 / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3627, allocations: 0 / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.219e-05/0.3628, allocations: 11.94 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3628, allocations: 3.984 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.3628, allocations: 4.062 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.3628, allocations: 11.94 kB / 1.286 GB, free: 8.941 MB / 0.9825 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.415e-05/0.3629, allocations: 105.8 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.363, allocations: 15.89 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.3631, allocations: 49.38 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3631, allocations: 0 / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3631, allocations: 0 / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3631, allocations: 0 / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.3632, allocations: 124.8 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3632, allocations: 4 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-05/0.3633, allocations: 7.938 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.3633, allocations: 7.938 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.3633, allocations: 0 / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3633, allocations: 3.984 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3633, allocations: 0 / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.3634, allocations: 73.12 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-06/0.3634, allocations: 7.969 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.3634, allocations: 0 / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.626e-05/0.3635, allocations: 0 / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.3635, allocations: 7.984 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.3635, allocations: 4.062 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.938e-05/0.3636, allocations: 79.28 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3636, allocations: 0 / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002145/0.3638, allocations: 23.94 kB / 1.286 GB, free: 8.359 MB / 0.9825 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.0005555/0.3643, allocations: 0.6435 MB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.3644, allocations: 23.92 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3644, allocations: 0 / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.549e-05/0.3644, allocations: 8.219 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.3646, allocations: 8 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.3657, allocations: 1.131 MB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.898e-05/0.3657, allocations: 59.36 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.245e-05/0.3658, allocations: 11.97 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.3658, allocations: 11.42 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3658, allocations: 0 / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.3962, allocations: 2.234 MB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.13, allocations: 14.92 kB / 1.29 GB, free: 4.211 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable x from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! Error: Could not read variable der(x) in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable der(x) from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! Error: Could not read variable der(y) in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable der(y) from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.146567614283413]