Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008078/0.0008078, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008688/0.0008688, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9104/0.9104, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.705/1.705, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.266e-05, allocations: 9.312 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001936/0.001959, allocations: 1.499 MB / 0.952 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000244/0.002203, allocations: 99.73 kB / 0.9521 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.002234, allocations: 4 kB / 0.9521 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.842e-05/0.002273, allocations: 3.938 kB / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.002327, allocations: 11.86 kB / 0.9521 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.002529, allocations: 19.98 kB / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.673e-05/0.002606, allocations: 51.83 kB / 0.9522 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.002689, allocations: 4 kB / 0.9522 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.188e-05/0.002741, allocations: 27.97 kB / 0.9522 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.002781, allocations: 15.92 kB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.002797, allocations: 4 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.632e-05/0.002853, allocations: 23.92 kB / 0.9522 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.273e-05/0.002896, allocations: 11.98 kB / 0.9522 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.002914, allocations: 11.94 kB / 0.9522 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.003032, allocations: 67.78 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003034, allocations: 0 / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.134e-06/0.003036, allocations: 3.984 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.003039, allocations: 0 / 0.9523 GB, free: 1.602 MB / 0.9011 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.0003651/0.003404, allocations: 310 kB / 0.9526 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.003442, allocations: 8.031 kB / 0.9526 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.003476, allocations: 38.69 kB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.103e-05/0.003497, allocations: 4.891 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.746e-05/0.003574, allocations: 121.7 kB / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.003586, allocations: 4.375 kB / 0.9528 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.003594, allocations: 384 / 0.9528 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.00376, allocations: 78.16 kB / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.003767, allocations: 4.188 kB / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.003775, allocations: 384 / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.00378, allocations: 4.125 kB / 0.9529 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.003928, allocations: 75.91 kB / 0.9529 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.004216, allocations: 244 kB / 0.9532 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.00434, allocations: 66.53 kB / 0.9532 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.201e-05/0.004422, allocations: 48.86 kB / 0.9533 GB, free: 500 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.004578, allocations: 35.91 kB / 0.9533 GB, free: 464 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.004596, allocations: 34.56 kB / 0.9533 GB, free: 420 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.004597, allocations: 0 / 0.9533 GB, free: 420 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0003145/0.004912, allocations: 153.5 kB / 0.9535 GB, free: 260 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.004938, allocations: 55.41 kB / 0.9535 GB, free: 192 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.16e-05/0.00501, allocations: 125.1 kB / 0.9537 GB, free: 60 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.005019, allocations: 29.7 kB / 0.9537 GB, free: 24 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.005068, allocations: 96.06 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.005086, allocations: 15.84 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.005111, allocations: 9.719 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.005306, allocations: 326.8 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.005382, allocations: 35.91 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/0.005451, allocations: 39.95 kB / 0.9542 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.005588, allocations: 76.78 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.005589, allocations: 4 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001661/0.005755, allocations: 117.5 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.005766, allocations: 4 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.00577, allocations: 0 / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.00578, allocations: 0 / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.021e-05/0.005851, allocations: 15.98 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.005855, allocations: 4 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.476e-05/0.00589, allocations: 15.92 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.005895, allocations: 0 / 0.9544 GB, free: 15.25 MB / 0.9167 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.279e-05/0.005948, allocations: 117.8 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.005964, allocations: 12.22 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.006156, allocations: 117.6 kB / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006157, allocations: 4 kB / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.006161, allocations: 3.984 kB / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.006164, allocations: 0 / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.00627, allocations: 144.7 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.006271, allocations: 0 / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.006314, allocations: 23.91 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.006316, allocations: 4 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.006322, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006323, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.006324, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.00651, allocations: 207.4 kB / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.006518, allocations: 7.891 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.006528, allocations: 4 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.981e-05/0.006578, allocations: 11.98 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.006609, allocations: 3.984 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.006613, allocations: 4 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.632e-05/0.006649, allocations: 99.27 kB / 0.9552 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00665, allocations: 7.938 kB / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001564/0.006806, allocations: 8 kB / 0.9552 GB, free: 14.4 MB / 0.9167 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.0003779/0.007184, allocations: 0.7435 MB / 0.9559 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001857/0.00737, allocations: 79.91 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.007371, allocations: 0 / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.328e-05/0.007444, allocations: 39.97 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.007623, allocations: 7.984 kB / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.007967, allocations: 190.9 kB / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.877e-05/0.008016, allocations: 75.28 kB / 0.9563 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.02e-05/0.008036, allocations: 7.984 kB / 0.9563 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.008072, allocations: 20.48 kB / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of SimCode: time 4.01e-07/0.008072, allocations: 0 / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.02464, allocations: 2.588 MB / 0.9588 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.887/6.912, allocations: 5.656 kB / 0.9588 GB, free: 10.71 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.833531056530774]