Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.0014/0.0014, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001491/0.001491, allocations: 210.5 kB / 22.24 MB, free: 4.855 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.562/1.562, allocations: 230.6 MB / 256 MB, free: 8.059 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.518/3.518, allocations: 0.4892 GB / 0.7943 GB, free: 35.42 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: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [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.002134/0.002134, allocations: 69.14 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4596/0.4617, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001951/0.4636, allocations: 0.5241 MB / 1.326 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006222/0.4643, allocations: 187.8 kB / 1.326 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.4643, allocations: 4 kB / 1.326 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.4643, allocations: 0 / 1.326 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.721e-05/0.4644, allocations: 0 / 1.326 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.4649, allocations: 67.78 kB / 1.326 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.869e-05/0.4649, allocations: 7.984 kB / 1.326 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.367e-05/0.465, allocations: 4 kB / 1.326 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.255e-05/0.465, allocations: 8 kB / 1.326 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.499e-05/0.465, allocations: 15.91 kB / 1.326 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.465, allocations: 0 / 1.326 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.4654, allocations: 147.7 kB / 1.326 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.4654, allocations: 11.98 kB / 1.326 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.4654, allocations: 7.938 kB / 1.326 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.4656, allocations: 75.77 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4656, allocations: 0 / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4656, allocations: 0 / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.4656, allocations: 0 / 1.327 GB, free: 0.8516 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004575/0.4661, allocations: 266.2 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.4661, allocations: 12.03 kB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.4662, allocations: 4.891 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.4663, allocations: 110.5 kB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.4663, allocations: 384 / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.4664, allocations: 8.359 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.4665, allocations: 63.95 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4665, allocations: 4.125 kB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.4665, allocations: 7.938 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4665, allocations: 0 / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.162e-05/0.4666, allocations: 8 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.4668, allocations: 113.3 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.978e-05/0.4668, allocations: 26.56 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.4669, allocations: 8.922 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.4669, allocations: 4 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.4669, allocations: 34.56 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.4669, allocations: 4 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0006196/0.4676, allocations: 232.9 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.4676, allocations: 55.62 kB / 1.327 GB, free: 15.74 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.935e-05/0.4677, allocations: 117.8 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.4677, allocations: 25.7 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.4678, allocations: 88.14 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.4678, allocations: 7.938 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.4679, allocations: 17.72 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.468, allocations: 318.8 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.4681, allocations: 11.98 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.391e-05/0.4681, allocations: 25.7 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.39e-05/0.4682, allocations: 41.66 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4682, allocations: 4 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001111/0.4683, allocations: 69.62 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4683, allocations: 8 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4683, allocations: 0 / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.4683, allocations: 3.938 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.4684, allocations: 8 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.4684, allocations: 3.938 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.421e-05/0.4684, allocations: 0 / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.4684, allocations: 0 / 1.328 GB, free: 14.95 MB / 1.029 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 0.0001221/0.4685, allocations: 118.4 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.4686, allocations: 4 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.4687, allocations: 73.61 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4687, allocations: 0 / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4687, allocations: 0 / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4687, allocations: 4 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.4689, allocations: 117.3 kB / 1.328 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4689, allocations: 0 / 1.328 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.4689, allocations: 4 kB / 1.328 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.4689, allocations: 3.938 kB / 1.328 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.4689, allocations: 0 / 1.328 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.4689, allocations: 7.938 kB / 1.328 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4689, allocations: 0 / 1.328 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.4691, allocations: 113.3 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.4691, allocations: 4.031 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.4691, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.364e-05/0.4692, allocations: 3.938 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/0.4692, allocations: 4 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.4692, allocations: 3.938 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.798e-05/0.4693, allocations: 91.27 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4693, allocations: 0 / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002106/0.4695, allocations: 20 kB / 1.329 GB, free: 14.32 MB / 1.029 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.000199/0.4697, allocations: 127.2 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.4698, allocations: 31.91 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4698, allocations: 0 / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.557e-05/0.4698, allocations: 16 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.47, allocations: 4 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.4703, allocations: 129.5 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.136e-05/0.4704, allocations: 67.28 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.803e-05/0.4704, allocations: 8.125 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.4704, allocations: 11.44 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4704, allocations: 0 / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of Templates: time 0.004189/0.4746, allocations: 0.899 MB / 1.33 GB, free: 12.98 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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: 9.946354035288095]