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.001751/0.001751, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002243/0.002243, allocations: 220.3 kB / 22.25 MB, free: 5.254 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.789 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.306/3.306, allocations: 0.49 GB / 0.7951 GB, free: 35.53 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.003075/0.003075, allocations: 65.25 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4262, allocations: 176.1 MB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002071/0.4283, allocations: 0.5963 MB / 1.326 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007984/0.4291, allocations: 311.3 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.4291, allocations: 0 / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.4291, allocations: 0 / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.862e-05/0.4292, allocations: 3.938 kB / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.4297, allocations: 115.7 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.312e-05/0.4297, allocations: 7.984 kB / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.4298, allocations: 0 / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.264e-05/0.4298, allocations: 8 kB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.4299, allocations: 3.984 kB / 1.327 GB, free: 416 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.4299, allocations: 4 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004284/0.4303, allocations: 275.6 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.4303, allocations: 11.92 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.4303, allocations: 0 / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.4306, allocations: 100 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4306, allocations: 7.938 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4306, allocations: 3.938 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.4306, allocations: 0 / 1.327 GB, free: 12 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.0004659/0.4311, allocations: 258.2 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.4311, allocations: 8.031 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.645e-05/0.4312, allocations: 38.75 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.439e-05/0.4312, allocations: 4.891 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.4314, allocations: 106.5 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.4314, allocations: 4.375 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.4314, allocations: 384 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.4316, allocations: 67.95 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4316, allocations: 3.938 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.4316, allocations: 0 / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.4316, allocations: 0 / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.547e-05/0.4316, allocations: 7.938 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.4318, allocations: 124.8 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.596e-05/0.4319, allocations: 18.61 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.216e-05/0.4319, allocations: 8.922 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000565/0.4325, allocations: 83.89 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.4325, allocations: 34.56 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4325, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0006243/0.4331, allocations: 181.4 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.4332, allocations: 55.41 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.4333, allocations: 93.86 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.4333, allocations: 25.7 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.4334, allocations: 80.14 kB / 1.328 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.4334, allocations: 19.88 kB / 1.328 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.4335, allocations: 13.72 kB / 1.328 GB, free: 14.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.4336, allocations: 318.8 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.4337, allocations: 4 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.043e-05/0.4337, allocations: 21.7 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.59e-05/0.4338, allocations: 33.84 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.4338, allocations: 3.938 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001149/0.4339, allocations: 57.58 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.4339, allocations: 7.938 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4339, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.434, allocations: 4 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.575e-05/0.434, allocations: 4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.434, allocations: 3.938 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.4341, allocations: 4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.4341, allocations: 4.062 kB / 1.329 GB, free: 14.1 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 0.0001077/0.4342, allocations: 113.8 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.4342, allocations: 3.938 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.4344, allocations: 57.3 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4344, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4344, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4344, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.4345, allocations: 124.8 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.4345, allocations: 8 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-05/0.4346, allocations: 4 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.4346, allocations: 3.938 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.4346, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4346, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4346, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.4348, allocations: 81.06 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.4348, allocations: 7.922 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.4348, allocations: 0 / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.816e-05/0.4349, allocations: 4.031 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.4349, allocations: 0 / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.4349, allocations: 4.062 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.942e-05/0.4349, allocations: 79.28 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4349, allocations: 0 / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002673/0.4352, allocations: 31.92 kB / 1.329 GB, free: 13.5 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.0007/0.4359, allocations: 0.6438 MB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.436, allocations: 15.98 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.436, allocations: 0 / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.963e-05/0.4361, allocations: 15.92 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.4362, allocations: 5.406 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.4377, allocations: 1.15 MB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.771e-05/0.4377, allocations: 63.28 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.366e-05/0.4378, allocations: 7.984 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.4378, allocations: 11.44 kB / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of SimCode: time 9.72e-07/0.4378, allocations: 0 / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03165/0.4695, allocations: 2.261 MB / 1.333 GB, free: 9.324 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.51, allocations: 5.75 kB / 1.334 GB, free: 9.32 MB / 1.029 GB " [Timeout remaining time 288] (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.605501833022572]