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.001557/0.001557, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001574/0.001574, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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 1.544/1.544, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.909/2.909, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.246e-05/3.412e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001994/0.002028, allocations: 0.5386 MB / 0.8113 GB, free: 1.609 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005803/0.002609, allocations: 175.4 kB / 0.8115 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.002633, allocations: 0 / 0.8115 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.002661, allocations: 5 kB / 0.8115 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.935e-05/0.002711, allocations: 3.938 kB / 0.8115 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.003222, allocations: 69.23 kB / 0.8115 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.158e-05/0.003283, allocations: 11.98 kB / 0.8116 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.003326, allocations: 3.984 kB / 0.8116 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.31e-05/0.003359, allocations: 4 kB / 0.8116 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.321e-05/0.003392, allocations: 8.641 kB / 0.8116 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.003406, allocations: 7.938 kB / 0.8116 GB, free: 1.328 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.003731, allocations: 156.2 kB / 0.8117 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.00377, allocations: 9.016 kB / 0.8117 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.003799, allocations: 4 kB / 0.8117 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.004026, allocations: 83.75 kB / 0.8118 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.004029, allocations: 0.7188 kB / 0.8118 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.42e-07/0.00403, allocations: 0 / 0.8118 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.217e-06/0.004034, allocations: 6.406 kB / 0.8118 GB, free: 1.078 MB / 0.7605 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.0004271/0.004461, allocations: 262.2 kB / 0.8121 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.004502, allocations: 8.031 kB / 0.8121 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.004549, allocations: 0.9375 kB / 0.8121 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.004679, allocations: 117.7 kB / 0.8122 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.004691, allocations: 384 / 0.8122 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.004721, allocations: 9.906 kB / 0.8122 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.00487, allocations: 67.95 kB / 0.8123 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.004878, allocations: 192 / 0.8123 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.004887, allocations: 384 / 0.8123 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.004892, allocations: 1.594 kB / 0.8123 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.503e-05/0.004927, allocations: 11.94 kB / 0.8123 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.005122, allocations: 109.3 kB / 0.8124 GB, free: 416 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 6.826e-05/0.005191, allocations: 23.14 kB / 0.8124 GB, free: 384 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/0.005223, allocations: 22.22 kB / 0.8124 GB, free: 360 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.005265, allocations: 4 kB / 0.8124 GB, free: 356 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.005301, allocations: 34.56 kB / 0.8125 GB, free: 312 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.005302, allocations: 0 / 0.8125 GB, free: 312 kB / 0.7605 GB Notification: Performance of matching and sorting (n=3): time 0.00065/0.005952, allocations: 218.4 kB / 0.8127 GB, free: 60 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.006021, allocations: 56.44 kB / 0.8127 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.006145, allocations: 121.8 kB / 0.8128 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.006168, allocations: 26.67 kB / 0.8129 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.006226, allocations: 80.14 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.006261, allocations: 23.78 kB / 0.813 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.006304, allocations: 18.67 kB / 0.813 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.006481, allocations: 314.8 kB / 0.8133 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.792e-05/0.006509, allocations: 8 kB / 0.8133 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.145e-05/0.00655, allocations: 31.05 kB / 0.8133 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.767e-05/0.006628, allocations: 46.14 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.006629, allocations: 0 / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001158/0.006744, allocations: 67.56 kB / 0.8134 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.006761, allocations: 4 kB / 0.8134 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.00677, allocations: 4 kB / 0.8134 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.006789, allocations: 0 / 0.8134 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/0.006871, allocations: 13.67 kB / 0.8135 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.00688, allocations: 3.938 kB / 0.8135 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.006895, allocations: 4 kB / 0.8135 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.006902, allocations: 0 / 0.8135 GB, free: 15.2 MB / 0.7761 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.0001066/0.007009, allocations: 114.8 kB / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.007028, allocations: 7.953 kB / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.007187, allocations: 70.14 kB / 0.8137 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.007189, allocations: 0.5938 kB / 0.8137 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.007193, allocations: 0 / 0.8137 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.007199, allocations: 4.469 kB / 0.8137 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.00733, allocations: 118.2 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.007336, allocations: 4 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.007392, allocations: 7.984 kB / 0.8138 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.007395, allocations: 0.8438 kB / 0.8138 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.007403, allocations: 0 / 0.8138 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.007404, allocations: 1.281 kB / 0.8138 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.007405, allocations: 0 / 0.8138 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.007604, allocations: 113.2 kB / 0.8139 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.007616, allocations: 4.875 kB / 0.8139 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.007634, allocations: 4 kB / 0.8139 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.412e-05/0.007688, allocations: 5.141 kB / 0.8139 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.007709, allocations: 7.938 kB / 0.8139 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.007714, allocations: 0 / 0.8139 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.423e-05/0.007798, allocations: 95.2 kB / 0.814 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007798, allocations: 1.375 kB / 0.814 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002336/0.008032, allocations: 19.94 kB / 0.814 GB, free: 14.57 MB / 0.7761 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.0002349/0.008267, allocations: 116.6 kB / 0.8141 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.008388, allocations: 31.98 kB / 0.8142 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.00839, allocations: 0 / 0.8142 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.085e-05/0.008421, allocations: 22.8 kB / 0.8142 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.008587, allocations: 6.406 kB / 0.8142 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.008943, allocations: 132.7 kB / 0.8143 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.549e-05/0.009019, allocations: 67.2 kB / 0.8144 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.832e-05/0.009047, allocations: 4 kB / 0.8144 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.009076, allocations: 8.5 kB / 0.8144 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.009076, allocations: 1.125 kB / 0.8144 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.004272/0.01335, allocations: 0.9211 MB / 0.8153 GB, free: 13.25 MB / 0.7761 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: 8.355859229108319]