Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008522/0.0008522, allocations: 80.44 kB / 19.17 MB, free: 0.7305 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.0008569/0.0008569, allocations: 165.2 kB / 22.46 MB, free: 2.098 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.9006/0.9006, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.659/1.659, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.9506 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.288e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001281/0.001304, allocations: 0.6033 MB / 0.9511 GB, free: 2.828 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0005192/0.001823, allocations: 310.9 kB / 0.9514 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.001845, allocations: 0 / 0.9514 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.00186, allocations: 0 / 0.9514 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 1.866e-05/0.001879, allocations: 0 / 0.9514 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.00226, allocations: 115.5 kB / 0.9516 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.904e-05/0.002309, allocations: 11.98 kB / 0.9516 GB, free: 2.398 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.002349, allocations: 0 / 0.9516 GB, free: 2.398 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.981e-05/0.002379, allocations: 8 kB / 0.9516 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.892e-05/0.002427, allocations: 7.984 kB / 0.9516 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.002442, allocations: 0 / 0.9516 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.002722, allocations: 259.6 kB / 0.9518 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.002738, allocations: 8 kB / 0.9518 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.002755, allocations: 3.938 kB / 0.9518 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.002955, allocations: 119.7 kB / 0.952 GB, free: 2 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.002959, allocations: 0 / 0.952 GB, free: 2 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.553e-06/0.00296, allocations: 3.938 kB / 0.952 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.002965, allocations: 0 / 0.952 GB, free: 1.996 MB / 0.9011 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.0002884/0.003253, allocations: 270.1 kB / 0.9522 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.003293, allocations: 12.03 kB / 0.9522 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.711e-05/0.00332, allocations: 34.75 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.003362, allocations: 0.9375 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.371e-05/0.003436, allocations: 109.8 kB / 0.9524 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-06/0.003445, allocations: 384 / 0.9524 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.003464, allocations: 384 / 0.9524 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.321e-05/0.003557, allocations: 67.91 kB / 0.9524 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.003564, allocations: 192 / 0.9524 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.003572, allocations: 384 / 0.9524 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.003577, allocations: 4.125 kB / 0.9524 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.809e-05/0.003595, allocations: 3.984 kB / 0.9524 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.003725, allocations: 128.8 kB / 0.9526 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.042e-05/0.003776, allocations: 22.61 kB / 0.9526 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.00379, allocations: 4.859 kB / 0.9526 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003831/0.004173, allocations: 91.84 kB / 0.9527 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.004193, allocations: 30.56 kB / 0.9527 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.004194, allocations: 0 / 0.9527 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0004324/0.004627, allocations: 181.2 kB / 0.9529 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.286e-05/0.00472, allocations: 51.41 kB / 0.9529 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.78e-05/0.004767, allocations: 93.86 kB / 0.953 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.004777, allocations: 25.7 kB / 0.953 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.235e-05/0.004799, allocations: 84.47 kB / 0.9531 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.004823, allocations: 19.84 kB / 0.9531 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.004849, allocations: 13.72 kB / 0.9531 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.926e-05/0.004919, allocations: 318.8 kB / 0.9535 GB, free: 244 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.004933, allocations: 3.984 kB / 0.9535 GB, free: 240 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-05/0.004956, allocations: 21.72 kB / 0.9535 GB, free: 212 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.718e-05/0.004994, allocations: 29.66 kB / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.004994, allocations: 0 / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.983e-05/0.005064, allocations: 49.69 kB / 0.9536 GB, free: 120 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.005078, allocations: 12.06 kB / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.005083, allocations: 0 / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.005094, allocations: 3.938 kB / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.079e-05/0.005144, allocations: 11.94 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.00515, allocations: 0 / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.089e-05/0.00516, allocations: 0 / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.005166, allocations: 0 / 0.9536 GB, free: 92 kB / 0.9011 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.183e-05/0.005228, allocations: 113.8 kB / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.005242, allocations: 4 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.943e-05/0.005342, allocations: 57.31 kB / 0.9537 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.005347, allocations: 7.938 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.00535, allocations: 0 / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.005353, allocations: 0 / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.788e-05/0.005421, allocations: 124.8 kB / 0.9539 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.005422, allocations: 0 / 0.9539 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.005466, allocations: 7.938 kB / 0.9539 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.005467, allocations: 0 / 0.9539 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.005473, allocations: 0 / 0.9539 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.005475, allocations: 7.938 kB / 0.9539 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.005476, allocations: 0 / 0.9539 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.005592, allocations: 89 kB / 0.954 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.005597, allocations: 4.031 kB / 0.954 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.005607, allocations: 0 / 0.954 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.308e-05/0.00563, allocations: 3.938 kB / 0.954 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.005642, allocations: 0 / 0.954 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.005647, allocations: 4.234 kB / 0.954 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.208e-05/0.005669, allocations: 79.27 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005669, allocations: 0 / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001601/0.005829, allocations: 23.94 kB / 0.9541 GB, free: 15.49 MB / 0.9167 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.0003643/0.006194, allocations: 0.6516 MB / 0.9547 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.207e-05/0.006266, allocations: 19.98 kB / 0.9547 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.006268, allocations: 0 / 0.9547 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.006279, allocations: 11.94 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.006397, allocations: 7.938 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006885/0.007085, allocations: 1.135 MB / 0.9559 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.295e-05/0.007118, allocations: 59.36 kB / 0.9559 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.007144, allocations: 4.188 kB / 0.9559 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.007174, allocations: 20.42 kB / 0.9559 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.007174, allocations: 0 / 0.9559 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.02681, allocations: 2.381 MB / 0.9583 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.934/6.96, allocations: 16.39 kB / 0.9583 GB, free: 11.2 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable x from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! Error: Could not read variable der(x) in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable der(x) from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! Error: Could not read variable der(y) in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable der(y) from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.048594016581774]