Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0021/0.0021, allocations: 108.3 kB / 16.46 MB, free: 6.512 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.00249/0.00249, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.513/1.513, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.421/3.421, allocations: 0.49 GB / 0.7916 GB, free: 33.41 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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_12_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_12_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.002096/0.002096, allocations: 68.91 kB / 1.149 GB, free: 26.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3847, allocations: 176.1 MB / 1.321 GB, free: 3.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002047/0.3868, allocations: 0.6371 MB / 1.321 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008831/0.3876, allocations: 347.2 kB / 1.322 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.3877, allocations: 0 / 1.322 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.3877, allocations: 3.938 kB / 1.322 GB, free: 2.441 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.057e-05/0.3877, allocations: 0 / 1.322 GB, free: 2.441 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.3883, allocations: 127.6 kB / 1.322 GB, free: 2.316 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.88e-05/0.3883, allocations: 19.92 kB / 1.322 GB, free: 2.297 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.3884, allocations: 7.984 kB / 1.322 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.519e-05/0.3885, allocations: 4 kB / 1.322 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/0.3885, allocations: 19.91 kB / 1.322 GB, free: 2.266 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.3885, allocations: 0 / 1.322 GB, free: 2.266 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.389, allocations: 279.7 kB / 1.322 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.389, allocations: 7.984 kB / 1.322 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.389, allocations: 11.88 kB / 1.322 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.3892, allocations: 107.9 kB / 1.322 GB, free: 1.867 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3892, allocations: 0 / 1.322 GB, free: 1.867 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3892, allocations: 4 kB / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.3892, allocations: 0 / 1.322 GB, free: 1.863 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000533/0.3898, allocations: 367.1 kB / 1.323 GB, free: 1.453 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.3898, allocations: 11.98 kB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.896e-05/0.3899, allocations: 38.73 kB / 1.323 GB, free: 1.395 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.033e-05/0.3899, allocations: 4.938 kB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.3901, allocations: 164.3 kB / 1.323 GB, free: 1.191 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.3901, allocations: 4.375 kB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.3901, allocations: 8.375 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.3903, allocations: 46.25 kB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3903, allocations: 3.938 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3903, allocations: 11.92 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.3903, allocations: 3.984 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.458e-05/0.3904, allocations: 19.94 kB / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.3906, allocations: 169.6 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3907, allocations: 54.56 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.135e-05/0.3908, allocations: 32.84 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008535/0.3916, allocations: 449.5 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.3917, allocations: 42.55 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.3917, allocations: 0 / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.001541/0.3932, allocations: 0.6031 MB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3933, allocations: 51.41 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.145e-05/0.3933, allocations: 97.95 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.3934, allocations: 33.64 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.3934, allocations: 84.08 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.3935, allocations: 35.69 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.3935, allocations: 33.7 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3937, allocations: 314.8 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.851e-05/0.3937, allocations: 19.98 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.313e-05/0.3938, allocations: 23.25 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.3939, allocations: 60.78 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3939, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001732/0.394, allocations: 109.5 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3941, allocations: 4 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.3941, allocations: 0 / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3941, allocations: 4 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.3942, allocations: 19.98 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.3942, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/0.3942, allocations: 4 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.3942, allocations: 4 kB / 1.325 GB, free: 14.57 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 (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 9.959e-05/0.3943, allocations: 119.4 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.3944, allocations: 15.88 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.3946, allocations: 101.6 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3946, allocations: 0 / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3946, allocations: 4 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3946, allocations: 0 / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.3951, allocations: 354.4 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3951, allocations: 0 / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.3952, allocations: 23.98 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3952, allocations: 4 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3952, allocations: 4 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3952, allocations: 0 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3953, allocations: 0 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.3956, allocations: 227.5 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.3956, allocations: 93.06 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.3956, allocations: 3.938 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.554e-05/0.3957, allocations: 8 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.3957, allocations: 12.05 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3957, allocations: 0 / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.3958, allocations: 79.28 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3958, allocations: 0 / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002989/0.3961, allocations: 43.88 kB / 1.326 GB, free: 13.38 MB / 1.029 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.0007358/0.3968, allocations: 0.7904 MB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.397, allocations: 55.97 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.397, allocations: 0 / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.543e-05/0.397, allocations: 35.92 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.3973, allocations: 4.766 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.3987, allocations: 1.415 MB / 1.328 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.3991, allocations: 0.6894 MB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.343e-05/0.3991, allocations: 16.36 kB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.3992, allocations: 15.44 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3992, allocations: 0 / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.4249, allocations: 2.509 MB / 1.332 GB, free: 7.879 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.105/8.529, allocations: 3.938 kB / 1.332 GB, free: 7.875 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable x from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! Error: Could not read variable y in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable y from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! Error: Could not read variable der(x) in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable der(x) from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! Error: Could not read variable der(y) in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable der(y) from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.599863255163655]