Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.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.001346/0.001346, 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.001088/0.001088, allocations: 164.5 kB / 24.86 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 0.9721/0.9721, 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.876/1.876, allocations: 377.9 MB / 0.6247 GB, free: 8.438 MB / 0.5886 GB " [Timeout remaining time 178] 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.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.8128 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.505e-05, allocations: 8.922 kB / 0.8128 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.01115/0.01118, allocations: 1.493 MB / 0.8142 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0002355/0.01141, allocations: 83.8 kB / 0.8143 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.01144, allocations: 3.828 kB / 0.8143 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.336e-05/0.01149, allocations: 4.938 kB / 0.8143 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.425e-05/0.01152, allocations: 7.984 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.01173, allocations: 21.08 kB / 0.8144 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.48e-05/0.01179, allocations: 23.92 kB / 0.8144 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.176e-05/0.01185, allocations: 4.656 kB / 0.8144 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.029e-05/0.01188, allocations: 15.92 kB / 0.8144 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.938e-05/0.01191, allocations: 9.234 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.01192, allocations: 7.984 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.81e-05/0.01199, allocations: 15.98 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.84e-05/0.01202, allocations: 7.984 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.326e-05/0.01203, allocations: 10.38 kB / 0.8145 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.166e-05/0.01212, allocations: 35.89 kB / 0.8145 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.01212, allocations: 0 / 0.8145 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.41e-07/0.01213, allocations: 0 / 0.8145 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.01213, allocations: 0 / 0.8145 GB, free: 15.75 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000298/0.01243, allocations: 364.6 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.01246, allocations: 17.5 kB / 0.8149 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.01248, allocations: 0.9375 kB / 0.8149 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.598e-05/0.01256, allocations: 112.6 kB / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.01257, allocations: 4.375 kB / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.01257, allocations: 5.844 kB / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.093e-05/0.01267, allocations: 50.95 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.01267, allocations: 4.172 kB / 0.815 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.209e-06/0.01268, allocations: 0.9062 kB / 0.815 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.01268, allocations: 384 / 0.815 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.887e-05/0.0127, allocations: 8.469 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.0129, allocations: 233.3 kB / 0.8153 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.116e-05/0.01294, allocations: 31.09 kB / 0.8153 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.01296, allocations: 16.47 kB / 0.8153 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.01298, allocations: 0 / 0.8153 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.01301, allocations: 41.86 kB / 0.8153 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.01301, allocations: 1.375 kB / 0.8153 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001102/0.01312, allocations: 41.58 kB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.01314, allocations: 51.41 kB / 0.8154 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/0.01321, allocations: 171.1 kB / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.009015/0.02223, allocations: 25.7 kB / 0.8156 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.02227, allocations: 130.9 kB / 0.8157 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.02229, allocations: 12.8 kB / 0.8158 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.02232, allocations: 15.38 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.02243, allocations: 0.4884 MB / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.02244, allocations: 0.8438 kB / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.138e-06/0.02245, allocations: 1.094 kB / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.685e-05/0.02248, allocations: 19.69 kB / 0.8163 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.02248, allocations: 3.984 kB / 0.8163 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.164e-05/0.02254, allocations: 42.47 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.02255, allocations: 5.562 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.02256, allocations: 0 / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.02257, allocations: 3.938 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.584e-05/0.02262, allocations: 4 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.02263, allocations: 5.156 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.995e-05/0.02265, allocations: 3.984 kB / 0.8163 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-06/0.02265, allocations: 0 / 0.8163 GB, free: 13.67 MB / 0.7761 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 (2): * Single equations (assignments): 2 * 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 6.162e-05/0.02271, allocations: 163.8 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.02273, allocations: 3.984 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.885e-05/0.0228, allocations: 45.25 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.0228, allocations: 3.938 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.0228, allocations: 0 / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.02281, allocations: 0 / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.02292, allocations: 109.2 kB / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.02292, allocations: 0 / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.02294, allocations: 4.75 kB / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.02294, allocations: 1.938 kB / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.02295, allocations: 4 kB / 0.8167 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.02295, allocations: 0 / 0.8167 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.02295, allocations: 0 / 0.8167 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.807e-05/0.02304, allocations: 191.8 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.02305, allocations: 5.469 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-06/0.02305, allocations: 0 / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.698e-05/0.0231, allocations: 8 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.02313, allocations: 7.922 kB / 0.8169 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.02313, allocations: 5 kB / 0.8169 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.53e-05/0.02317, allocations: 127.2 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02317, allocations: 0.875 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002081/0.02338, allocations: 4 kB / 0.817 GB, free: 12.95 MB / 0.7761 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 (2): * Single equations (assignments): 2 * 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.0001062/0.02348, allocations: 104.1 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.776e-05/0.02354, allocations: 12.97 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.02354, allocations: 0 / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.66e-05/0.02356, allocations: 11.69 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.02377, allocations: 12.8 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002043/0.02397, allocations: 124.8 kB / 0.8172 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.549e-05/0.02401, allocations: 67.16 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.53e-05/0.02402, allocations: 0 / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.02406, allocations: 70.2 kB / 0.8174 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.02406, allocations: 0 / 0.8174 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of Templates: time 0.004918/0.02898, allocations: 0.647 MB / 0.818 GB, free: 11.87 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Polynomial.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.120330588892102]