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.001721/0.001721, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001536/0.001536, allocations: 214.7 kB / 22.25 MB, free: 5.242 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.805 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.474/3.474, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 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.002099/0.002099, allocations: 64.92 kB / 1.153 GB, free: 25.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4212, allocations: 176.1 MB / 1.325 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001776/0.4229, allocations: 0.6215 MB / 1.326 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007262/0.4237, allocations: 319.3 kB / 1.326 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.4237, allocations: 4 kB / 1.326 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.4237, allocations: 3.938 kB / 1.326 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.059e-05/0.4237, allocations: 0 / 1.326 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.4242, allocations: 121 kB / 1.326 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.476e-05/0.4243, allocations: 23.97 kB / 1.326 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.4243, allocations: 0 / 1.326 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.278e-05/0.4243, allocations: 15.92 kB / 1.326 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.762e-05/0.4244, allocations: 7.938 kB / 1.326 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.4244, allocations: 4 kB / 1.326 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003928/0.4248, allocations: 263.6 kB / 1.326 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.4248, allocations: 7.984 kB / 1.326 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.4248, allocations: 11.94 kB / 1.326 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.425, allocations: 107.9 kB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.425, allocations: 8 kB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.353e-06/0.425, allocations: 0 / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.425, allocations: 0 / 1.327 GB, free: 0.832 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.0004248/0.4255, allocations: 279.8 kB / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.4255, allocations: 15.97 kB / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.4255, allocations: 38.73 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.4256, allocations: 8.938 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.4257, allocations: 110.4 kB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.4257, allocations: 8.375 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.4257, allocations: 8.375 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.4259, allocations: 97.64 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.4259, allocations: 7.938 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.4259, allocations: 0 / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4259, allocations: 0 / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.563e-05/0.426, allocations: 19.98 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.4262, allocations: 132.7 kB / 1.327 GB, free: 16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.4263, allocations: 62.48 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.4263, allocations: 24.86 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005423/0.4269, allocations: 83.89 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.4269, allocations: 34.56 kB / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.4269, allocations: 0 / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001261/0.4282, allocations: 459.4 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.4282, allocations: 55.41 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.744e-05/0.4283, allocations: 97.86 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.4283, allocations: 25.7 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.4284, allocations: 84.14 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.4284, allocations: 39.67 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.4285, allocations: 33.7 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4286, allocations: 310.8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.911e-05/0.4287, allocations: 31.92 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.486e-05/0.4287, allocations: 19.98 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.792e-05/0.4288, allocations: 56.36 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4288, allocations: 4 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001648/0.429, allocations: 97.58 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.429, allocations: 7.984 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.429, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.429, allocations: 4 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.4291, allocations: 23.94 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.4291, allocations: 0 / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.4291, allocations: 0 / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.4291, allocations: 11.98 kB / 1.329 GB, free: 14.33 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.394e-05/0.4292, allocations: 113.8 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.4293, allocations: 11.89 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.4295, allocations: 105.9 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4295, allocations: 4 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.4295, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4295, allocations: 3.984 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.4299, allocations: 309.7 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4299, allocations: 3.938 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.43, allocations: 27.92 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.43, allocations: 7.938 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.4301, allocations: 4 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4301, allocations: 0 / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4301, allocations: 3.984 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.4303, allocations: 219.4 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.4304, allocations: 11.97 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.4304, allocations: 4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.4305, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.4305, allocations: 7.984 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.4305, allocations: 8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.747e-05/0.4306, allocations: 83.53 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4306, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002804/0.4308, allocations: 47.86 kB / 1.33 GB, free: 13.28 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.0006872/0.4315, allocations: 0.7948 MB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.4317, allocations: 59.86 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.4317, allocations: 4 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.695e-05/0.4317, allocations: 27.92 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.4319, allocations: 18.55 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.4334, allocations: 1.4 MB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.015e-05/0.4335, allocations: 83.23 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.795e-05/0.4335, allocations: 7.938 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.4336, allocations: 23.36 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.4336, allocations: 4 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.4668, allocations: 2.97 MB / 1.335 GB, free: 7.918 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.69, allocations: 11.36 kB / 1.335 GB, free: 7.914 MB / 1.029 GB " [Timeout remaining time 288] (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: 19.147437021601945]