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.001142/0.001142, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008844/0.0008844, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8757/0.8757, allocations: 177.1 MB / 202.8 MB, free: 5.734 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 1.778/1.778, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.887e-05/2.045e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002583/0.002604, allocations: 1.495 MB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002967/0.0029, allocations: 123.4 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.002934, allocations: 0 / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.261e-05/0.002977, allocations: 0 / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.929e-05/0.003036, allocations: 11.94 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.003258, allocations: 27.89 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.517e-05/0.003343, allocations: 43.84 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.892e-05/0.003432, allocations: 4 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.788e-05/0.00349, allocations: 23.92 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.335e-05/0.003544, allocations: 23.91 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.003563, allocations: 4 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.353e-05/0.003627, allocations: 19.98 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.289e-05/0.00367, allocations: 4 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.003695, allocations: 27.91 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.003827, allocations: 59.8 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003829, allocations: 0 / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.11e-07/0.00383, allocations: 0 / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.003834, allocations: 0 / 1.001 GB, free: 11.61 MB / 0.9636 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.0004334/0.004268, allocations: 306.1 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.004307, allocations: 12.75 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.00434, allocations: 30.75 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.00453, allocations: 28.88 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.361e-05/0.004624, allocations: 133.6 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.004635, allocations: 384 / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.004646, allocations: 4.375 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.004857, allocations: 82.14 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.004865, allocations: 192 / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.004875, allocations: 4.375 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.004881, allocations: 4.125 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.005171, allocations: 83.91 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.005556, allocations: 252 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.005729, allocations: 70.47 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.005848, allocations: 48.91 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.005862, allocations: 3.938 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.005885, allocations: 38.55 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.005886, allocations: 0 / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0004416/0.006328, allocations: 153.5 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.00636, allocations: 55.39 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.744e-05/0.006447, allocations: 132.4 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.006459, allocations: 25.7 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.006504, allocations: 92.12 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.006524, allocations: 11.89 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.006561, allocations: 13.72 kB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.436e-05/0.006645, allocations: 322.8 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.006756, allocations: 43.89 kB / 1.003 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.006859, allocations: 39.97 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.007072, allocations: 84.77 kB / 1.003 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007074, allocations: 0 / 1.003 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000259/0.007333, allocations: 121.8 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.007346, allocations: 4 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.00735, allocations: 0 / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.007363, allocations: 48 / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.007473, allocations: 27.89 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.007478, allocations: 0 / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.954e-05/0.007537, allocations: 11.98 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.007545, allocations: 4 kB / 1.004 GB, free: 9.219 MB / 0.9636 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 6.477e-05/0.00761, allocations: 113.8 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.007637, allocations: 15.88 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.007664, allocations: 12 kB / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.007666, allocations: 0 / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.00767, allocations: 0 / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.007673, allocations: 0 / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.007822, allocations: 144.7 kB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007823, allocations: 0 / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.006e-05/0.007894, allocations: 19.92 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.007896, allocations: 0 / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.007903, allocations: 4 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.007906, allocations: 4 kB / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007907, allocations: 0 / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.008189, allocations: 212.1 kB / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.008199, allocations: 11.89 kB / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.008214, allocations: 8 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.0083, allocations: 11.98 kB / 1.004 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.00834, allocations: 7.984 kB / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.008343, allocations: 0 / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.905e-05/0.008392, allocations: 103.3 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.008392, allocations: 0 / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002351/0.008627, allocations: 8 kB / 1.004 GB, free: 8.48 MB / 0.9636 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.0004728/0.0091, allocations: 0.7358 MB / 1.005 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.009367, allocations: 95.78 kB / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.009369, allocations: 0 / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.009482, allocations: 39.95 kB / 1.005 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.009732, allocations: 14.16 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.01017, allocations: 186.5 kB / 1.005 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.767e-05/0.01023, allocations: 75.27 kB / 1.005 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.559e-05/0.01026, allocations: 4 kB / 1.005 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.01031, allocations: 16.44 kB / 1.005 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.01031, allocations: 0 / 1.005 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.02562, allocations: 2.572 MB / 1.008 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.232/7.258, allocations: 7.984 kB / 1.008 GB, free: 4.789 MB / 0.9636 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 840.0] 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: 11.344245680607855]