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.001165/0.001165, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001323/0.001323, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9105/0.9105, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.805/1.805, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 3.938 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.017e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001164/0.001185, allocations: 0.5955 MB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0005041/0.001689, allocations: 306.8 kB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.00171, allocations: 3.938 kB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.001725, allocations: 0 / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.864e-05/0.001744, allocations: 3.938 kB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.002131, allocations: 123.6 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.002188, allocations: 11.98 kB / 1.001 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.002228, allocations: 0 / 1.001 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.023e-05/0.002258, allocations: 4 kB / 1.001 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.00231, allocations: 4 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.002327, allocations: 0 / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.002593, allocations: 263.6 kB / 1.001 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.002609, allocations: 11.88 kB / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.34e-05/0.002623, allocations: 0 / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.002786, allocations: 119.7 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002788, allocations: 0 / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.152e-06/0.00279, allocations: 4 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.002794, allocations: 0 / 1.001 GB, free: 12 MB / 0.9636 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.0002964/0.00309, allocations: 266.2 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.003133, allocations: 12.75 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.766e-05/0.003161, allocations: 30.75 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.003204, allocations: 0.9375 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.887e-05/0.003293, allocations: 113.8 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.003302, allocations: 384 / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.00332, allocations: 384 / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.719e-05/0.003417, allocations: 59.95 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.003424, allocations: 8.188 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.003432, allocations: 384 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.003437, allocations: 4.125 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.89e-05/0.003456, allocations: 3.938 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.003578, allocations: 128.7 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.514e-05/0.003623, allocations: 26.61 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.003638, allocations: 4.859 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003495/0.003987, allocations: 79.97 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.004013, allocations: 38.56 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.004014, allocations: 0 / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0004337/0.004447, allocations: 177.2 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.004476, allocations: 51.62 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.669e-05/0.004523, allocations: 97.86 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.004533, allocations: 29.7 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.00456, allocations: 80.14 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.004582, allocations: 7.891 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.004611, allocations: 21.7 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.004692, allocations: 322.7 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.004706, allocations: 4 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.574e-05/0.004731, allocations: 21.7 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.894e-05/0.00477, allocations: 25.84 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.004771, allocations: 0 / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.502e-05/0.004846, allocations: 53.62 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.00486, allocations: 8 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.004866, allocations: 0 / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.004879, allocations: 3.938 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.514e-05/0.004934, allocations: 12 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.00494, allocations: 0 / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.224e-05/0.004952, allocations: 0 / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.004959, allocations: 0 / 1.003 GB, free: 10.11 MB / 0.9636 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 5.309e-05/0.005012, allocations: 113.9 kB / 1.003 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.005028, allocations: 3.953 kB / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.005136, allocations: 65.28 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.00514, allocations: 7.938 kB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.005145, allocations: 0 / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005148, allocations: 0 / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.215e-05/0.00522, allocations: 120.8 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.005221, allocations: 0 / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.005257, allocations: 7.938 kB / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.005258, allocations: 4.188 kB / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.005265, allocations: 4 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.005268, allocations: 7.938 kB / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.005268, allocations: 0 / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.005371, allocations: 77.05 kB / 1.003 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.005379, allocations: 8.016 kB / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.00539, allocations: 0 / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.215e-05/0.005412, allocations: 7.938 kB / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.005424, allocations: 0 / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.005429, allocations: 4 kB / 1.003 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.349e-05/0.005453, allocations: 79.34 kB / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005453, allocations: 0 / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001516/0.005604, allocations: 27.92 kB / 1.003 GB, free: 9.492 MB / 0.9636 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.00033/0.005934, allocations: 0.6436 MB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.048e-05/0.006005, allocations: 15.98 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.006008, allocations: 7.938 kB / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.778e-06/0.006018, allocations: 4 kB / 1.004 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001084/0.006126, allocations: 3.938 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007559/0.006882, allocations: 1.136 MB / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.795e-05/0.00692, allocations: 63.28 kB / 1.005 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.137e-05/0.006951, allocations: 4 kB / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.00698, allocations: 8.5 kB / 1.005 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of SimCode: time 5.82e-07/0.006981, allocations: 4 kB / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01728/0.02426, allocations: 2.38 MB / 1.007 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.993/7.017, allocations: 14.03 kB / 1.007 GB, free: 5.23 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.211710389703512]