Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001679/0.001679, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002258/0.002258, allocations: 221.7 kB / 22.25 MB, free: 5.215 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 8.008 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.372/3.372, allocations: 0.505 GB / 0.8101 GB, free: 22.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_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.002049/0.002049, allocations: 70.86 kB / 1.177 GB, free: 17.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3823, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001773/0.384, allocations: 0.6068 MB / 1.353 GB, free: 7.844 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0007734/0.3848, allocations: 347.2 kB / 1.354 GB, free: 7.504 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.753e-05/0.3848, allocations: 0 / 1.354 GB, free: 7.504 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.3849, allocations: 0 / 1.354 GB, free: 7.504 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.764e-05/0.3849, allocations: 3.938 kB / 1.354 GB, free: 7.5 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005295/0.3854, allocations: 114.8 kB / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.356e-05/0.3855, allocations: 15.97 kB / 1.354 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.3855, allocations: 4 kB / 1.354 GB, free: 7.371 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.199e-05/0.3856, allocations: 4 kB / 1.354 GB, free: 7.367 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.247e-05/0.3856, allocations: 3.938 kB / 1.354 GB, free: 7.363 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.3856, allocations: 0 / 1.354 GB, free: 7.363 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004728/0.3861, allocations: 279.6 kB / 1.354 GB, free: 7.09 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.3861, allocations: 11.94 kB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.3862, allocations: 3.984 kB / 1.354 GB, free: 7.074 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.3864, allocations: 95.94 kB / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3864, allocations: 0 / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3864, allocations: 0 / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3864, allocations: 4 kB / 1.354 GB, free: 6.977 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004384/0.3868, allocations: 270.2 kB / 1.355 GB, free: 6.68 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3869, allocations: 8.031 kB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.3869, allocations: 30.75 kB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/0.387, allocations: 0.9375 kB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.3871, allocations: 110.5 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.3871, allocations: 8.375 kB / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.3871, allocations: 384 / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.3872, allocations: 42.19 kB / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3872, allocations: 7.938 kB / 1.355 GB, free: 6.438 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3873, allocations: 3.984 kB / 1.355 GB, free: 6.434 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3873, allocations: 0 / 1.355 GB, free: 6.434 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.458e-05/0.3873, allocations: 3.938 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.3875, allocations: 124.8 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.849e-05/0.3875, allocations: 22.61 kB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.3876, allocations: 12.86 kB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006288/0.3882, allocations: 75.91 kB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.3882, allocations: 38.56 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.3882, allocations: 0 / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005031/0.3887, allocations: 177.2 kB / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.3888, allocations: 51.41 kB / 1.355 GB, free: 5.828 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.279e-05/0.3888, allocations: 101.8 kB / 1.355 GB, free: 5.719 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.3889, allocations: 25.7 kB / 1.355 GB, free: 5.688 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.3889, allocations: 80.14 kB / 1.355 GB, free: 5.605 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.3889, allocations: 20.22 kB / 1.355 GB, free: 5.586 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.389, allocations: 17.72 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3891, allocations: 318.8 kB / 1.356 GB, free: 5.242 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.3891, allocations: 8 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.09e-05/0.3891, allocations: 17.7 kB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.564e-05/0.3892, allocations: 21.72 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.3892, allocations: 0 / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.792e-05/0.3893, allocations: 57.62 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3893, allocations: 11.94 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3893, allocations: 0 / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3893, allocations: 0 / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.372e-05/0.3894, allocations: 8 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3894, allocations: 0 / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.3894, allocations: 4 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.3894, allocations: 0 / 1.356 GB, free: 5.098 MB / 1.045 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 9.523e-05/0.3895, allocations: 129.7 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.3895, allocations: 3.938 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.3897, allocations: 53.38 kB / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3897, allocations: 0 / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3897, allocations: 4 kB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3897, allocations: 0 / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.3898, allocations: 124.7 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3898, allocations: 0 / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.3899, allocations: 4 kB / 1.356 GB, free: 4.727 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3899, allocations: 7.938 kB / 1.356 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3899, allocations: 11.92 kB / 1.356 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3899, allocations: 0 / 1.356 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3899, allocations: 4 kB / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.39, allocations: 73.06 kB / 1.356 GB, free: 4.613 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.3901, allocations: 12.12 kB / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.3901, allocations: 4 kB / 1.356 GB, free: 4.598 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.3901, allocations: 4.094 kB / 1.356 GB, free: 4.594 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.3901, allocations: 11.97 kB / 1.356 GB, free: 4.582 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.3901, allocations: 0 / 1.356 GB, free: 4.582 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.622e-05/0.3902, allocations: 79.28 kB / 1.356 GB, free: 4.504 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3902, allocations: 0 / 1.356 GB, free: 4.504 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002277/0.3904, allocations: 23.94 kB / 1.356 GB, free: 4.48 MB / 1.045 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.0006196/0.391, allocations: 0.6437 MB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.3912, allocations: 12 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3912, allocations: 0 / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.948e-05/0.3912, allocations: 11.94 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.3913, allocations: 7.031 kB / 1.357 GB, free: 3.777 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.3925, allocations: 1.135 MB / 1.358 GB, free: 2.555 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.3928, allocations: 0.6768 MB / 1.359 GB, free: 1.852 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.3928, allocations: 7.984 kB / 1.359 GB, free: 1.844 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.3928, allocations: 7.438 kB / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of SimCode: time 4.21e-07/0.3928, allocations: 0 / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.4259, allocations: 1.844 MB / 1.361 GB, free: 132 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.18, allocations: 9.812 kB / 1.361 GB, free: 124 kB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable x from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! Error: Could not read variable der(x) in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable der(x) from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! Error: Could not read variable der(y) in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable der(y) from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.433950779000043]