Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.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.001831/0.001831, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002075/0.002075, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.61/1.61, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.334/3.334, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] 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.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 1.203 kB / 0.8774 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.013e-05, allocations: 4.984 kB / 0.8774 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003047/0.003077, allocations: 1.513 MB / 0.8789 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003682/0.003445, allocations: 100.4 kB / 0.879 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.00348, allocations: 4 kB / 0.879 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.147e-05/0.003551, allocations: 8.953 kB / 0.879 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.879e-05/0.00363, allocations: 11.75 kB / 0.879 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.003866, allocations: 25.06 kB / 0.8791 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.003969, allocations: 43.8 kB / 0.8791 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.004074, allocations: 12.64 kB / 0.8791 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.137e-05/0.004156, allocations: 19.98 kB / 0.8791 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.004206, allocations: 12.58 kB / 0.8792 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.004226, allocations: 4 kB / 0.8792 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.172e-05/0.004307, allocations: 28.84 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.00436, allocations: 11.98 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.004392, allocations: 17.08 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.004634, allocations: 67.78 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.004637, allocations: 0 / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.302e-06/0.004639, allocations: 5.531 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.004643, allocations: 0 / 0.8793 GB, free: 4.766 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005627/0.005206, allocations: 396 kB / 0.8797 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.005244, allocations: 8.031 kB / 0.8797 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00024/0.005484, allocations: 36.02 kB / 0.8797 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.005638, allocations: 120.5 kB / 0.8798 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.005651, allocations: 384 / 0.8798 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.005665, allocations: 4.375 kB / 0.8798 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.005866, allocations: 58.23 kB / 0.8799 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.005875, allocations: 192 / 0.8799 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.005888, allocations: 9.672 kB / 0.8799 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.005893, allocations: 384 / 0.8799 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.006087, allocations: 52.39 kB / 0.8799 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.006606, allocations: 289.4 kB / 0.8802 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.006786, allocations: 51.05 kB / 0.8803 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.006893, allocations: 28.83 kB / 0.8803 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.006918, allocations: 11.92 kB / 0.8803 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.006962, allocations: 41.39 kB / 0.8803 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.006963, allocations: 0 / 0.8803 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004255/0.007388, allocations: 105.5 kB / 0.8804 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.007447, allocations: 51.41 kB / 0.8805 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.007619, allocations: 197.3 kB / 0.8807 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.007638, allocations: 25.7 kB / 0.8807 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.007753, allocations: 142.9 kB / 0.8808 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.00778, allocations: 11.91 kB / 0.8809 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.007831, allocations: 27.38 kB / 0.8809 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002881/0.008119, allocations: 0.4884 MB / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.008219, allocations: 23.97 kB / 0.8814 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.661e-05/0.008305, allocations: 27.92 kB / 0.8814 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.008498, allocations: 55.66 kB / 0.8815 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.0085, allocations: 0 / 0.8815 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002284/0.008728, allocations: 73.67 kB / 0.8815 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.008746, allocations: 11.94 kB / 0.8815 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.008751, allocations: 7.938 kB / 0.8815 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.008766, allocations: 0 / 0.8815 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.008885, allocations: 11.98 kB / 0.8816 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.00889, allocations: 0 / 0.8816 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.189e-05/0.008962, allocations: 19.94 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.00897, allocations: 3.938 kB / 0.8816 GB, free: 2.215 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 (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 prepare postOptimizeDAE: time 0.0001198/0.009089, allocations: 156.6 kB / 0.8817 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.009118, allocations: 4 kB / 0.8817 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.009162, allocations: 19.94 kB / 0.8818 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.009164, allocations: 0 / 0.8818 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.009167, allocations: 0 / 0.8818 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.009169, allocations: 4 kB / 0.8818 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.00936, allocations: 132.6 kB / 0.8819 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.009361, allocations: 0 / 0.8819 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.123e-05/0.009442, allocations: 11.98 kB / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.009444, allocations: 0 / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.009452, allocations: 0 / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.009457, allocations: 3.938 kB / 0.8819 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.009458, allocations: 0 / 0.8819 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004706/0.009929, allocations: 244.1 kB / 0.8821 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.009945, allocations: 11.89 kB / 0.8821 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.00996, allocations: 0 / 0.8821 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.142e-05/0.01005, allocations: 7.938 kB / 0.8821 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.01011, allocations: 11.98 kB / 0.8822 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.01011, allocations: 0 / 0.8822 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.541e-05/0.01021, allocations: 139.2 kB / 0.8823 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.01021, allocations: 0 / 0.8823 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000218/0.01042, allocations: 8 kB / 0.8823 GB, free: 1.41 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 (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.0001354/0.01056, allocations: 95.25 kB / 0.8824 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002616/0.01082, allocations: 63.64 kB / 0.8825 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01082, allocations: 0 / 0.8825 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.01094, allocations: 35.61 kB / 0.8825 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.01118, allocations: 11.02 kB / 0.8825 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.01157, allocations: 162 kB / 0.8827 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.996e-05/0.01165, allocations: 71.34 kB / 0.8827 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.01169, allocations: 3.938 kB / 0.8827 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.01173, allocations: 12.5 kB / 0.8827 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/0.01173, allocations: 0 / 0.8827 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of Templates: time 0.003634/0.01537, allocations: 0.8498 MB / 0.8836 GB, free: 64 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.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.417097828933038]