Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.0008108/0.0008108, 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.0008528/0.0008528, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8992/0.8992, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.697/1.697, allocations: 359 MB / 0.6037 GB, free: 11.11 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.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9505 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.554e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001056/0.001072, allocations: 0.5869 MB / 0.9511 GB, free: 2.852 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007574/0.001829, allocations: 290.9 kB / 0.9514 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.503e-05/0.001844, allocations: 0 / 0.9514 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.001861, allocations: 0 / 0.9514 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.513e-06/0.001867, allocations: 3.938 kB / 0.9514 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.002255, allocations: 107.6 kB / 0.9515 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.346e-05/0.002299, allocations: 3.984 kB / 0.9515 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.00234, allocations: 11.94 kB / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.457e-05/0.002364, allocations: 0 / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.269e-05/0.002387, allocations: 4 kB / 0.9515 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.0024, allocations: 0 / 0.9515 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.002677, allocations: 251.7 kB / 0.9518 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.002691, allocations: 4 kB / 0.9518 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.453e-05/0.002706, allocations: 0 / 0.9518 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.002883, allocations: 115.7 kB / 0.9519 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.002886, allocations: 0 / 0.9519 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.022e-06/0.002887, allocations: 0 / 0.9519 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.002891, allocations: 3.938 kB / 0.9519 GB, free: 2.07 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000295/0.003186, allocations: 258.2 kB / 0.9521 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.003228, allocations: 16.03 kB / 0.9521 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.003258, allocations: 34.73 kB / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.003304, allocations: 0.9375 kB / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.608e-05/0.00336, allocations: 101.8 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.00337, allocations: 4.375 kB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.003378, allocations: 384 / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.7e-05/0.003465, allocations: 30.2 kB / 0.9523 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.003472, allocations: 192 / 0.9523 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.003479, allocations: 384 / 0.9523 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.003486, allocations: 12.11 kB / 0.9523 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.003505, allocations: 0 / 0.9523 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.003606, allocations: 128.7 kB / 0.9524 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.305e-05/0.003639, allocations: 18.61 kB / 0.9525 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.003653, allocations: 8.797 kB / 0.9525 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/0.003923, allocations: 40.03 kB / 0.9525 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.00394, allocations: 34.5 kB / 0.9525 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.003941, allocations: 0 / 0.9525 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001224/0.004063, allocations: 45.69 kB / 0.9526 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.004089, allocations: 55.34 kB / 0.9526 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.887e-05/0.004118, allocations: 89.86 kB / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.004128, allocations: 25.7 kB / 0.9528 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.786e-05/0.004146, allocations: 80.14 kB / 0.9528 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.004169, allocations: 0 / 0.9528 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.004196, allocations: 13.72 kB / 0.9528 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.004277, allocations: 310.8 kB / 0.9531 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.208e-06/0.004286, allocations: 0 / 0.9531 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-06/0.004293, allocations: 4 kB / 0.9531 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.004319, allocations: 20.97 kB / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.004321, allocations: 4 kB / 0.9532 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.13e-05/0.004362, allocations: 29.7 kB / 0.9532 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.004375, allocations: 4 kB / 0.9532 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.004383, allocations: 4 kB / 0.9532 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.004394, allocations: 0 / 0.9532 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.098e-05/0.004435, allocations: 4 kB / 0.9532 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.004441, allocations: 3.938 kB / 0.9532 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-06/0.004448, allocations: 0 / 0.9532 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.004453, allocations: 0 / 0.9532 GB, free: 0.5195 MB / 0.9011 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 (1): * Single equations (assignments): 1 * 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.203e-05/0.004505, allocations: 113.9 kB / 0.9533 GB, free: 408 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.004516, allocations: 3.984 kB / 0.9533 GB, free: 404 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.66e-05/0.004582, allocations: 40.64 kB / 0.9534 GB, free: 360 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.004584, allocations: 3.938 kB / 0.9534 GB, free: 356 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.004592, allocations: 3.938 kB / 0.9534 GB, free: 352 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.004594, allocations: 4 kB / 0.9534 GB, free: 348 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.845e-05/0.004653, allocations: 116.8 kB / 0.9535 GB, free: 188 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.004653, allocations: 0 / 0.9535 GB, free: 188 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.553e-06/0.00466, allocations: 4 kB / 0.9535 GB, free: 184 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-07/0.004661, allocations: 4.031 kB / 0.9535 GB, free: 180 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.004666, allocations: 3.938 kB / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.004667, allocations: 0 / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.004669, allocations: 3.938 kB / 0.9535 GB, free: 172 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.746e-05/0.004726, allocations: 65.06 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-06/0.00473, allocations: 0 / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.004739, allocations: 0 / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.487e-06/0.004742, allocations: 0 / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.004758, allocations: 7.938 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.00476, allocations: 0 / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.197e-05/0.004782, allocations: 79.31 kB / 0.9536 GB, free: 0 / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.004782, allocations: 0 / 0.9536 GB, free: 0 / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001465/0.004928, allocations: 12.09 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0003117/0.00524, allocations: 0.6047 MB / 0.9542 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.926e-05/0.005309, allocations: 11.92 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.005311, allocations: 0 / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/0.005315, allocations: 0 / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.005422, allocations: 11.88 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.005689, allocations: 115.3 kB / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.937e-05/0.005728, allocations: 59.34 kB / 0.9544 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.974e-05/0.005748, allocations: 7.984 kB / 0.9544 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.005767, allocations: 8.5 kB / 0.9544 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.005767, allocations: 0 / 0.9544 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.02014, allocations: 1.831 MB / 0.9562 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.786/6.807, allocations: 7.922 kB / 0.9562 GB, free: 13.37 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.963092799298465]