Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.001813/0.001813, 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.002209/0.002209, allocations: 210.8 kB / 22.25 MB, free: 5.262 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.793 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.896/2.896, allocations: 476 MB / 0.7699 GB, free: 4.738 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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.00216/0.00216, allocations: 66.8 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3732, allocations: 169.9 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002301/0.3755, allocations: 0.628 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008172/0.3763, allocations: 318.9 kB / 1.284 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.3763, allocations: 0 / 1.284 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.3764, allocations: 0 / 1.284 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.063e-05/0.3764, allocations: 3.938 kB / 1.284 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.3769, allocations: 127.8 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.241e-05/0.377, allocations: 23.92 kB / 1.284 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.002e-05/0.377, allocations: 11.92 kB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.033e-05/0.3771, allocations: 4 kB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.3771, allocations: 15.92 kB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.3772, allocations: 4 kB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.3776, allocations: 255.7 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.3776, allocations: 7.922 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.3776, allocations: 11.98 kB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.3778, allocations: 97.41 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3778, allocations: 0 / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3778, allocations: 0 / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3778, allocations: 4 kB / 1.284 GB, free: 10.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005141/0.3784, allocations: 294 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.3784, allocations: 12.03 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.3784, allocations: 30.75 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.3785, allocations: 4.938 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3786, allocations: 114.5 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3786, allocations: 4.375 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.3787, allocations: 8.328 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.3789, allocations: 105.6 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.3789, allocations: 7.922 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3789, allocations: 8 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3789, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.34e-05/0.379, allocations: 15.98 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.3792, allocations: 136.8 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.3793, allocations: 54.56 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.3794, allocations: 28.84 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005735/0.3799, allocations: 79.86 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.38, allocations: 34.56 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.38, allocations: 0 / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001383/0.3813, allocations: 455.7 kB / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.3814, allocations: 55.41 kB / 1.285 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.61e-05/0.3815, allocations: 101.8 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.3815, allocations: 29.7 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.3816, allocations: 80.14 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.3816, allocations: 39.69 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.3816, allocations: 21.72 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3818, allocations: 322.8 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.588e-05/0.3819, allocations: 19.98 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.221e-05/0.3819, allocations: 23.12 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.382, allocations: 60.78 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.382, allocations: 0 / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001808/0.3822, allocations: 105.6 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3822, allocations: 4.094 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3822, allocations: 3.938 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.3823, allocations: 0 / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3824, allocations: 23.98 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3824, allocations: 3.938 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.682e-05/0.3824, allocations: 4 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.3824, allocations: 4 kB / 1.286 GB, free: 8.426 MB / 0.9825 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 (13): * Single equations (assignments): 13 * 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 0.0001044/0.3825, allocations: 117.8 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.3825, allocations: 7.891 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.3828, allocations: 109.8 kB / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3828, allocations: 0 / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3828, allocations: 0 / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.3828, allocations: 4 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.3833, allocations: 329.5 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3833, allocations: 0 / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.3834, allocations: 23.98 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3834, allocations: 192 / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.3834, allocations: 4 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3834, allocations: 0 / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3834, allocations: 8 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.3837, allocations: 223.3 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.3837, allocations: 8.016 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.3838, allocations: 4 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.3838, allocations: 7.984 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.3839, allocations: 7.984 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.3839, allocations: 4 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.934e-05/0.3839, allocations: 79.28 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3839, allocations: 0 / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002901/0.3842, allocations: 43.88 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0008132/0.385, allocations: 0.7982 MB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.3852, allocations: 55.97 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3852, allocations: 7.875 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.243e-05/0.3852, allocations: 28 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.3855, allocations: 7.984 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.3871, allocations: 1.396 MB / 1.289 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.868e-05/0.3871, allocations: 67.34 kB / 1.289 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.589e-05/0.3872, allocations: 20.05 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.3872, allocations: 15.44 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3872, allocations: 0 / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03303/0.4203, allocations: 2.991 MB / 1.292 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.23, allocations: 11.73 kB / 1.292 GB, free: 2.02 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_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_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable x from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! Error: Could not read variable y in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable y from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! Error: Could not read variable der(x) in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable der(x) from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! Error: Could not read variable der(y) in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable der(y) from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.43698184704408]