Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001003/0.001003, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001289/0.001289, allocations: 177 kB / 23.49 MB, free: 1.059 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.9458/0.9458, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.136/2.136, allocations: 429.5 MB / 0.6736 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 0.8782 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.359e-05, allocations: 4.969 kB / 0.8782 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.002218/0.002252, allocations: 0.613 MB / 0.8788 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002604/0.002512, allocations: 23.95 kB / 0.8789 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.002535, allocations: 2.109 kB / 0.8789 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.002553, allocations: 0 / 0.8789 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.238e-06/0.002563, allocations: 3.938 kB / 0.8789 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.002892, allocations: 9.094 kB / 0.8789 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.317e-05/0.002945, allocations: 0 / 0.8789 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.002993, allocations: 8.703 kB / 0.8789 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.06e-05/0.003023, allocations: 0 / 0.8789 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.67e-05/0.00305, allocations: 2.25 kB / 0.8789 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.003067, allocations: 0 / 0.8789 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.861e-05/0.003166, allocations: 19.97 kB / 0.8789 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.003175, allocations: 0 / 0.8789 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.634e-05/0.003191, allocations: 0.875 kB / 0.8789 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.003301, allocations: 16.91 kB / 0.8789 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.003304, allocations: 0 / 0.8789 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003305, allocations: 1.094 kB / 0.8789 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.00331, allocations: 0 / 0.8789 GB, free: 5.883 MB / 0.8386 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.0003217/0.003631, allocations: 341.2 kB / 0.8792 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.00368, allocations: 12.61 kB / 0.8793 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.003728, allocations: 4.938 kB / 0.8793 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.733e-05/0.003806, allocations: 105.3 kB / 0.8794 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.00382, allocations: 5.344 kB / 0.8794 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.003829, allocations: 384 / 0.8794 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.003929, allocations: 30.27 kB / 0.8794 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.003937, allocations: 5.281 kB / 0.8794 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.003946, allocations: 384 / 0.8794 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.003956, allocations: 384 / 0.8794 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.275e-05/0.003979, allocations: 4.938 kB / 0.8794 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.004105, allocations: 116.6 kB / 0.8795 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.895e-05/0.004154, allocations: 28.06 kB / 0.8795 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.004175, allocations: 11.78 kB / 0.8796 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.004212, allocations: 0 / 0.8796 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.004241, allocations: 38.95 kB / 0.8796 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.004242, allocations: 0 / 0.8796 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001563/0.004399, allocations: 29.7 kB / 0.8796 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.004438, allocations: 58.64 kB / 0.8797 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.955e-05/0.004488, allocations: 146.2 kB / 0.8798 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.0045, allocations: 25.7 kB / 0.8798 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.004534, allocations: 126.9 kB / 0.88 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.004575, allocations: 8.297 kB / 0.88 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.004608, allocations: 15.38 kB / 0.88 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.004752, allocations: 500 kB / 0.8805 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.004765, allocations: 4 kB / 0.8805 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-06/0.004773, allocations: 1.281 kB / 0.8805 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.102e-05/0.004814, allocations: 11.69 kB / 0.8805 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.004818, allocations: 4 kB / 0.8805 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.958e-05/0.004888, allocations: 39.25 kB / 0.8805 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.004906, allocations: 8 kB / 0.8805 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.004911, allocations: 0 / 0.8805 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.004926, allocations: 0 / 0.8805 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.004995, allocations: 1.094 kB / 0.8805 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.005004, allocations: 3.938 kB / 0.8805 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.641e-05/0.00502, allocations: 7.938 kB / 0.8805 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.005034, allocations: 4.219 kB / 0.8805 GB, free: 4.031 MB / 0.8386 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 8.061e-05/0.005114, allocations: 152.6 kB / 0.8807 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.769e-06/0.005124, allocations: 0 / 0.8807 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.005246, allocations: 44.69 kB / 0.8807 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.005249, allocations: 0 / 0.8807 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.005252, allocations: 0 / 0.8807 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.005257, allocations: 3.984 kB / 0.8807 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.144e-05/0.005338, allocations: 120.5 kB / 0.8808 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.00534, allocations: 4 kB / 0.8809 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.739e-05/0.005367, allocations: 0 / 0.8809 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.00537, allocations: 0 / 0.8809 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.005379, allocations: 4 kB / 0.8809 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.00538, allocations: 0 / 0.8809 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.005382, allocations: 0 / 0.8809 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.918e-05/0.005472, allocations: 80.31 kB / 0.8809 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-06/0.005478, allocations: 0 / 0.8809 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.005489, allocations: 0 / 0.8809 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.656e-05/0.005506, allocations: 0 / 0.8809 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.005525, allocations: 4.031 kB / 0.8809 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.005532, allocations: 4 kB / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.817e-05/0.00557, allocations: 119.2 kB / 0.8811 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.00557, allocations: 0 / 0.8811 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002191/0.005789, allocations: 4 kB / 0.8811 GB, free: 3.426 MB / 0.8386 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.0001606/0.00595, allocations: 107.1 kB / 0.8812 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.601e-05/0.006036, allocations: 15.62 kB / 0.8812 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.006037, allocations: 0 / 0.8812 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.371e-05/0.006051, allocations: 11.75 kB / 0.8812 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.006203, allocations: 4.688 kB / 0.8812 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002477/0.006451, allocations: 84.7 kB / 0.8813 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.173e-05/0.006492, allocations: 59.34 kB / 0.8813 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.006522, allocations: 4 kB / 0.8813 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.006546, allocations: 8.5 kB / 0.8813 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of SimCode: time 7.41e-07/0.006546, allocations: 4.062 kB / 0.8813 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of Templates: time 0.00201/0.008557, allocations: 299.2 kB / 0.8816 GB, free: 2.777 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_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.293687100987881]