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.0009341/0.0009341, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001531/0.001531, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 1.89/1.89, allocations: 377.9 MB / 0.6247 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 177] 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.883e-06/1.883e-06, allocations: 0 / 0.8128 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.757e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001299/0.001326, allocations: 0.5475 MB / 0.8133 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000407/0.001733, allocations: 175.3 kB / 0.8135 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.329e-05/0.001757, allocations: 0 / 0.8135 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.001785, allocations: 5.094 kB / 0.8135 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.436e-05/0.001829, allocations: 0 / 0.8135 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.002243, allocations: 77.22 kB / 0.8135 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.183e-05/0.002295, allocations: 4 kB / 0.8135 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.002336, allocations: 4 kB / 0.8135 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.289e-05/0.002369, allocations: 7.922 kB / 0.8135 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.385e-05/0.002393, allocations: 10.34 kB / 0.8136 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.002405, allocations: 0 / 0.8136 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.002645, allocations: 159.7 kB / 0.8137 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.237e-05/0.002678, allocations: 0 / 0.8137 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.002694, allocations: 11.94 kB / 0.8137 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.002849, allocations: 95.66 kB / 0.8138 GB, free: 456 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002851, allocations: 0 / 0.8138 GB, free: 456 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.273e-06/0.002852, allocations: 0.5312 kB / 0.8138 GB, free: 456 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.002857, allocations: 0.7188 kB / 0.8138 GB, free: 456 kB / 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.0002887/0.003145, allocations: 360.5 kB / 0.8142 GB, free: 56 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.003184, allocations: 12.56 kB / 0.8142 GB, free: 44 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.003216, allocations: 10.53 kB / 0.8142 GB, free: 36 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.003324, allocations: 112.6 kB / 0.8143 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.003335, allocations: 384 / 0.8143 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.003353, allocations: 4.375 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.232e-05/0.003435, allocations: 56.58 kB / 0.8143 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.003442, allocations: 4.188 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.003448, allocations: 1.094 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.003454, allocations: 384 / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.158e-05/0.003465, allocations: 8.531 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.003588, allocations: 109.8 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.282e-05/0.003631, allocations: 27.81 kB / 0.8145 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.311e-05/0.003644, allocations: 7.688 kB / 0.8145 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.003679, allocations: 5.438 kB / 0.8145 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.003702, allocations: 37.39 kB / 0.8145 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.003703, allocations: 3.938 kB / 0.8145 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0003798/0.004083, allocations: 187.4 kB / 0.8147 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.004109, allocations: 51.41 kB / 0.8148 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.004189, allocations: 177.9 kB / 0.8149 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.004198, allocations: 30.64 kB / 0.815 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.004239, allocations: 126.9 kB / 0.8151 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.004265, allocations: 11.89 kB / 0.8151 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.004295, allocations: 20.59 kB / 0.8151 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.004428, allocations: 0.4961 MB / 0.8156 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.004441, allocations: 4 kB / 0.8156 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.407e-05/0.004465, allocations: 20.31 kB / 0.8156 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.768e-05/0.004513, allocations: 33.58 kB / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.004514, allocations: 0 / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.404e-05/0.004588, allocations: 45.59 kB / 0.8157 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.004602, allocations: 8 kB / 0.8157 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.004607, allocations: 3.188 kB / 0.8157 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.004617, allocations: 0 / 0.8157 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.203e-05/0.004669, allocations: 15.98 kB / 0.8157 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.004672, allocations: 0 / 0.8157 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.534e-05/0.004687, allocations: 3.938 kB / 0.8157 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.004692, allocations: 0 / 0.8157 GB, free: 14.25 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 7.01e-05/0.004762, allocations: 160.5 kB / 0.8159 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.004773, allocations: 4 kB / 0.8159 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.735e-05/0.00487, allocations: 50.84 kB / 0.8159 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.004872, allocations: 0 / 0.8159 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.004875, allocations: 3.984 kB / 0.8159 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.004878, allocations: 0.5625 kB / 0.8159 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.116e-05/0.004959, allocations: 105.4 kB / 0.816 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.004961, allocations: 4.5 kB / 0.816 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.005, allocations: 4.562 kB / 0.8161 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.005003, allocations: 4.922 kB / 0.8161 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.005009, allocations: 4 kB / 0.8161 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.005012, allocations: 3.984 kB / 0.8161 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.005013, allocations: 1 kB / 0.8161 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.00512, allocations: 96.2 kB / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-06/0.005129, allocations: 4.812 kB / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.005138, allocations: 0 / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.852e-05/0.005167, allocations: 0 / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.00518, allocations: 4.641 kB / 0.8162 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.005185, allocations: 4.875 kB / 0.8162 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.005226, allocations: 127.2 kB / 0.8163 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005226, allocations: 0 / 0.8163 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002146/0.00544, allocations: 25.06 kB / 0.8163 GB, free: 13.59 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.000159/0.005599, allocations: 120.2 kB / 0.8164 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.106e-05/0.00567, allocations: 19.62 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.005672, allocations: 1.062 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.539e-05/0.005688, allocations: 15.67 kB / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.00583, allocations: 11.94 kB / 0.8165 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/0.006043, allocations: 127.4 kB / 0.8166 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.304e-05/0.006076, allocations: 59.34 kB / 0.8167 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.006103, allocations: 5.031 kB / 0.8167 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.006148, allocations: 70.2 kB / 0.8167 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of SimCode: time 6.52e-07/0.006148, allocations: 0.5938 kB / 0.8167 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of Templates: time 0.0031/0.009248, allocations: 1.042 MB / 0.8177 GB, free: 12.07 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.244996045716107]