Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.37/2.37, allocations: 443.5 MB / 0.7304 GB, free: 13.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.89 kB / 1.059 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2575, allocations: 160.7 MB / 1.216 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00167/0.2591, allocations: 0.6097 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006446/0.2598, allocations: 350.7 kB / 1.217 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.2598, allocations: 0 / 1.217 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.2598, allocations: 3.938 kB / 1.217 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.04e-05/0.2598, allocations: 0 / 1.217 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.2603, allocations: 115.7 kB / 1.217 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.755e-05/0.2603, allocations: 11.92 kB / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.2603, allocations: 8 kB / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.618e-05/0.2604, allocations: 7.984 kB / 1.217 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.34e-05/0.2604, allocations: 7.938 kB / 1.217 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.2604, allocations: 0 / 1.217 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.2608, allocations: 275.6 kB / 1.217 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.806e-06/0.2608, allocations: 0 / 1.217 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.2608, allocations: 0 / 1.217 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.261, allocations: 107.9 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.261, allocations: 0 / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.032e-06/0.261, allocations: 0 / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.261, allocations: 0 / 1.217 GB, free: 14.43 MB / 0.9669 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.0003609/0.2614, allocations: 343.3 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2614, allocations: 8.031 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.2614, allocations: 30.75 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.2615, allocations: 4.938 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.2616, allocations: 168.3 kB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.2616, allocations: 8.375 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.2616, allocations: 4.375 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.031e-05/0.2617, allocations: 30.27 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2617, allocations: 7.875 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.2617, allocations: 0 / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.2617, allocations: 0 / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.026e-05/0.2618, allocations: 4 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.2619, allocations: 149.7 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.754e-05/0.262, allocations: 26.59 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.262, allocations: 16.86 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000691/0.2627, allocations: 457.5 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.2627, allocations: 30.56 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.2627, allocations: 0 / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004679/0.2632, allocations: 258.2 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.2632, allocations: 55.39 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.805e-05/0.2633, allocations: 98.08 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.2633, allocations: 25.7 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.2633, allocations: 84.14 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.2633, allocations: 15.84 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.2634, allocations: 21.7 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2635, allocations: 310.8 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.2635, allocations: 4 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.551e-05/0.2635, allocations: 17.72 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.532e-05/0.2636, allocations: 29.83 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.2636, allocations: 4 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.318e-05/0.2637, allocations: 49.64 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2637, allocations: 7.938 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2637, allocations: 0 / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2637, allocations: 3.984 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.419e-05/0.2637, allocations: 8 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2637, allocations: 8.047 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.726e-05/0.2638, allocations: 3.938 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.2638, allocations: 4 kB / 1.219 GB, free: 11.79 MB / 0.9669 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 6.77e-05/0.2638, allocations: 109.8 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.2639, allocations: 3.938 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.264, allocations: 57.17 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.264, allocations: 0 / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.264, allocations: 8 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.264, allocations: 0 / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.2641, allocations: 153.7 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2641, allocations: 192 / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.781e-05/0.2641, allocations: 4 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.2642, allocations: 3.938 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.2642, allocations: 3.984 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2642, allocations: 7.938 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2642, allocations: 0 / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.2643, allocations: 85.05 kB / 1.22 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.2643, allocations: 85 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.868e-06/0.2644, allocations: 0 / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.823e-05/0.2644, allocations: 4.031 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.397e-06/0.2644, allocations: 0 / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.2644, allocations: 0 / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.753e-05/0.2644, allocations: 83.28 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2644, allocations: 0 / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002013/0.2646, allocations: 31.86 kB / 1.22 GB, free: 11.06 MB / 0.9669 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.0005032/0.2651, allocations: 0.6437 MB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.774e-05/0.2652, allocations: 19.98 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2652, allocations: 0 / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.805e-05/0.2652, allocations: 7.938 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.2654, allocations: 8.188 kB / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009519/0.2663, allocations: 1.131 MB / 1.222 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.2666, allocations: 0.6768 MB / 1.222 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.536e-05/0.2666, allocations: 4 kB / 1.222 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.2666, allocations: 11.44 kB / 1.222 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.2666, allocations: 0 / 1.222 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.2908, allocations: 1.713 MB / 1.224 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/7.185, allocations: 20.3 kB / 1.224 GB, free: 6.77 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable x from file Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! Error: Could not read variable der(x) in file Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable der(x) from file Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! Error: Could not read variable der(y) in file Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable der(y) from file Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.406540574993414]