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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001711, allocations: 105.3 kB / 17.08 MB, free: 5.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 196.2 kB / 20.03 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.99/2.99, allocations: 490 MB / 0.7695 GB, free: 3.094 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002028/0.002028, allocations: 75.83 kB / 1.104 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9242/0.9262, allocations: 164 MB / 1.264 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0018/0.9281, allocations: 0.5829 MB / 1.264 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002461/0.9283, allocations: 33.16 kB / 1.265 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.4e-05/0.9284, allocations: 0.6562 kB / 1.265 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.9284, allocations: 4 kB / 1.265 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-06/0.9284, allocations: 0 / 1.265 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.9287, allocations: 17.47 kB / 1.265 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.364e-05/0.9288, allocations: 2.109 kB / 1.265 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.9288, allocations: 2.234 kB / 1.265 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.462e-05/0.9288, allocations: 0.7812 kB / 1.265 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.987e-05/0.9289, allocations: 1.719 kB / 1.265 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.9289, allocations: 0.7812 kB / 1.265 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.635e-05/0.929, allocations: 15.64 kB / 1.265 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.929, allocations: 1.547 kB / 1.265 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.929, allocations: 15.92 kB / 1.265 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.683e-05/0.9291, allocations: 16.36 kB / 1.265 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.9291, allocations: 0 / 1.265 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9291, allocations: 0 / 1.265 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.9292, allocations: 0.8125 kB / 1.265 GB, free: 7.105 MB / 0.9981 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.0002426/0.9294, allocations: 316.3 kB / 1.265 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.9294, allocations: 10.42 kB / 1.265 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.9295, allocations: 0.9375 kB / 1.265 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.791e-05/0.9295, allocations: 166.5 kB / 1.265 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.9296, allocations: 4.375 kB / 1.265 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.9296, allocations: 5.203 kB / 1.265 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.839e-05/0.9297, allocations: 30.05 kB / 1.265 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.9297, allocations: 192 / 1.265 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.9297, allocations: 3.938 kB / 1.265 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.9297, allocations: 1.609 kB / 1.265 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.911e-05/0.9297, allocations: 1.656 kB / 1.265 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.9298, allocations: 148.7 kB / 1.265 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.295e-05/0.9299, allocations: 24.62 kB / 1.265 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.515e-05/0.9299, allocations: 7.172 kB / 1.265 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.9299, allocations: 1.656 kB / 1.265 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.9299, allocations: 32.03 kB / 1.265 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.9299, allocations: 0 / 1.265 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001115/0.9301, allocations: 36.36 kB / 1.265 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.9301, allocations: 52.86 kB / 1.265 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.693e-05/0.9301, allocations: 101.9 kB / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.9301, allocations: 26.48 kB / 1.266 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.477e-06/0.9301, allocations: 80.89 kB / 1.266 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.9302, allocations: 4.844 kB / 1.266 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.9302, allocations: 13.33 kB / 1.266 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.828e-05/0.9302, allocations: 311.4 kB / 1.266 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-06/0.9303, allocations: 4.844 kB / 1.266 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-06/0.9303, allocations: 2.266 kB / 1.266 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/0.9303, allocations: 15.98 kB / 1.266 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.9303, allocations: 0 / 1.266 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.521e-05/0.9303, allocations: 33.48 kB / 1.266 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.9304, allocations: 6.062 kB / 1.266 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.9304, allocations: 0 / 1.266 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.9304, allocations: 4.656 kB / 1.266 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.693e-05/0.9304, allocations: 6.062 kB / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.9304, allocations: 1.344 kB / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.313e-05/0.9305, allocations: 5.109 kB / 1.266 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.9305, allocations: 4.906 kB / 1.266 GB, free: 5.523 MB / 0.9981 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 3.888e-05/0.9305, allocations: 108.3 kB / 1.266 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-06/0.9305, allocations: 4.625 kB / 1.266 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.849e-05/0.9306, allocations: 49.5 kB / 1.266 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.9306, allocations: 0.7812 kB / 1.266 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.9306, allocations: 0 / 1.266 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.9307, allocations: 5.438 kB / 1.266 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.793e-05/0.9307, allocations: 145.1 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.9307, allocations: 0 / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.697e-05/0.9307, allocations: 2.891 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.9307, allocations: 0 / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.9307, allocations: 4.688 kB / 1.266 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.9308, allocations: 5.328 kB / 1.266 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.9308, allocations: 0 / 1.266 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.223e-05/0.9308, allocations: 61.78 kB / 1.266 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.9308, allocations: 78.94 kB / 1.266 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.9309, allocations: 5.828 kB / 1.266 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.003e-05/0.9309, allocations: 0 / 1.266 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-06/0.9309, allocations: 0.75 kB / 1.266 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.9309, allocations: 2.469 kB / 1.266 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.07e-05/0.9309, allocations: 75.28 kB / 1.267 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9309, allocations: 0 / 1.267 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001988/0.9311, allocations: 5.344 kB / 1.267 GB, free: 4.914 MB / 0.9981 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.0001422/0.9313, allocations: 105.6 kB / 1.267 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.562e-05/0.9313, allocations: 12.61 kB / 1.267 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9313, allocations: 0.9375 kB / 1.267 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.177e-06/0.9313, allocations: 6.062 kB / 1.267 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.9315, allocations: 1.438 kB / 1.267 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001532/0.9316, allocations: 105.9 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.499e-05/0.9317, allocations: 0.6719 MB / 1.267 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.9318, allocations: 13.7 kB / 1.267 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.9318, allocations: 0 / 1.267 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of Templates: time 0.00203/0.9338, allocations: 454.4 kB / 1.268 GB, free: 3.949 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.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: 11.150355553952977]