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.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.001525/0.001525, allocations: 110.4 kB / 17.08 MB, free: 6.012 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.001558/0.001558, allocations: 191.7 kB / 20.03 MB, free: 3.082 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.42/1.42, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.923/2.923, allocations: 489.3 MB / 0.7687 GB, free: 3.969 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.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 0.002747/0.002747, allocations: 63.91 kB / 1.103 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9206/0.9234, allocations: 163.8 MB / 1.263 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002466/0.9259, allocations: 1.493 MB / 1.264 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003014/0.9262, allocations: 119.2 kB / 1.264 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.9263, allocations: 0.8125 kB / 1.264 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.632e-05/0.9263, allocations: 4.734 kB / 1.264 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.828e-05/0.9264, allocations: 6.859 kB / 1.264 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.9266, allocations: 23.27 kB / 1.264 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.017e-05/0.9267, allocations: 48 kB / 1.264 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.9269, allocations: 10.41 kB / 1.264 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.591e-05/0.9269, allocations: 21.52 kB / 1.264 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.762e-05/0.927, allocations: 22.86 kB / 1.264 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.927, allocations: 3.875 kB / 1.264 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.9271, allocations: 21 kB / 1.264 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.9271, allocations: 14 kB / 1.264 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.9271, allocations: 18.72 kB / 1.264 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.9273, allocations: 64.05 kB / 1.264 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9273, allocations: 1.391 kB / 1.264 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9273, allocations: 0 / 1.264 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.9273, allocations: 3.938 kB / 1.264 GB, free: 6.988 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004636/0.9278, allocations: 383.2 kB / 1.265 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.9278, allocations: 10.44 kB / 1.265 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.9279, allocations: 7.484 kB / 1.265 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.626e-05/0.928, allocations: 174.1 kB / 1.265 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.928, allocations: 1.125 kB / 1.265 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.928, allocations: 3.422 kB / 1.265 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.9283, allocations: 72.91 kB / 1.265 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.9283, allocations: 5.094 kB / 1.265 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.9283, allocations: 7.938 kB / 1.265 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.9283, allocations: 0.5938 kB / 1.265 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.9286, allocations: 72.34 kB / 1.265 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.9289, allocations: 288.3 kB / 1.265 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.9292, allocations: 68.08 kB / 1.265 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.9293, allocations: 45.7 kB / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002149/0.9296, allocations: 111.2 kB / 1.266 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.872e-05/0.9296, allocations: 32.22 kB / 1.266 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.9296, allocations: 0 / 1.266 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005695/0.9302, allocations: 146.3 kB / 1.266 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.9302, allocations: 56.92 kB / 1.266 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.458e-05/0.9303, allocations: 126.4 kB / 1.266 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.9303, allocations: 26.73 kB / 1.266 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.9304, allocations: 101.2 kB / 1.266 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.9304, allocations: 9.297 kB / 1.266 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.9304, allocations: 17.64 kB / 1.266 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.662e-05/0.9305, allocations: 314.5 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.9306, allocations: 39.61 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.9308, allocations: 43.83 kB / 1.266 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.9311, allocations: 79.5 kB / 1.267 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9311, allocations: 4.938 kB / 1.267 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003335/0.9314, allocations: 116.4 kB / 1.267 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.9315, allocations: 5.719 kB / 1.267 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.9315, allocations: 1 kB / 1.267 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.9315, allocations: 0 / 1.267 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.9316, allocations: 16.77 kB / 1.267 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.9316, allocations: 0 / 1.267 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.914e-05/0.9317, allocations: 20.11 kB / 1.267 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.9317, allocations: 0.6562 kB / 1.267 GB, free: 5.07 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 (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 5.029e-05/0.9318, allocations: 115.3 kB / 1.267 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.9318, allocations: 6.703 kB / 1.267 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.9322, allocations: 123.9 kB / 1.267 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.9322, allocations: 0.7188 kB / 1.267 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.9322, allocations: 7.938 kB / 1.267 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.9322, allocations: 1.578 kB / 1.267 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.9323, allocations: 179.2 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9324, allocations: 4.688 kB / 1.267 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.713e-05/0.9325, allocations: 15.59 kB / 1.267 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.9325, allocations: 0.75 kB / 1.267 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.9325, allocations: 0.7969 kB / 1.267 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.9325, allocations: 0.875 kB / 1.267 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.9325, allocations: 0 / 1.267 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.9329, allocations: 212 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.104e-05/0.9329, allocations: 80.7 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.933, allocations: 4.844 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.9331, allocations: 11.09 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.9331, allocations: 11.58 kB / 1.267 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.9331, allocations: 1.531 kB / 1.267 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.794e-05/0.9332, allocations: 96.72 kB / 1.268 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9332, allocations: 0 / 1.268 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002211/0.9334, allocations: 22.77 kB / 1.268 GB, free: 4.328 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 (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.0001277/0.9335, allocations: 98.73 kB / 1.268 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003695/0.9339, allocations: 79.81 kB / 1.268 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.9339, allocations: 4.781 kB / 1.268 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.9341, allocations: 42.75 kB / 1.268 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.9343, allocations: 12.12 kB / 1.268 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.9347, allocations: 176.7 kB / 1.268 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.9348, allocations: 0.6932 MB / 1.269 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.9348, allocations: 10.2 kB / 1.269 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.9348, allocations: 0.6562 kB / 1.269 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of Templates: time 0.002714/0.9376, allocations: 0.9023 MB / 1.27 GB, free: 3.27 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.012002286035568]