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.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.002246/0.002246, allocations: 102.7 kB / 16.45 MB, free: 6.504 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.002876/0.002876, allocations: 192.6 kB / 19.41 MB, free: 3.68 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.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.793/2.793, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> 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 0.002167/0.002167, allocations: 67.91 kB / 1.104 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8232/0.8253, allocations: 168.7 MB / 1.269 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002573/0.8279, allocations: 1.496 MB / 1.27 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003136/0.8282, allocations: 119.7 kB / 1.27 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.8282, allocations: 0 / 1.27 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.719e-05/0.8283, allocations: 3.938 kB / 1.27 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.8284, allocations: 11.92 kB / 1.27 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.8286, allocations: 27.95 kB / 1.27 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.947e-05/0.8287, allocations: 39.86 kB / 1.27 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.774e-05/0.8288, allocations: 11.98 kB / 1.27 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.541e-05/0.8288, allocations: 11.94 kB / 1.27 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.8289, allocations: 23.91 kB / 1.27 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.8289, allocations: 7.938 kB / 1.27 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.8289, allocations: 19.98 kB / 1.27 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.713e-05/0.829, allocations: 11.98 kB / 1.27 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.829, allocations: 19.88 kB / 1.27 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.8292, allocations: 73.48 kB / 1.271 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8292, allocations: 0 / 1.271 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8292, allocations: 0 / 1.271 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.8292, allocations: 3.938 kB / 1.271 GB, free: 3.34 MB / 0.9669 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.0005639/0.8297, allocations: 379.2 kB / 1.271 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.8298, allocations: 8.031 kB / 1.271 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/0.8298, allocations: 38.73 kB / 1.271 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.8299, allocations: 4.891 kB / 1.271 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.83, allocations: 176.3 kB / 1.271 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/0.83, allocations: 4.375 kB / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.83, allocations: 384 / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.8303, allocations: 74.2 kB / 1.271 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.8303, allocations: 7.938 kB / 1.271 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.8303, allocations: 4 kB / 1.271 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.8303, allocations: 0 / 1.271 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.8306, allocations: 79.86 kB / 1.271 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.831, allocations: 296.8 kB / 1.272 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.8312, allocations: 58.53 kB / 1.272 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.8313, allocations: 48.92 kB / 1.272 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/0.8316, allocations: 105.1 kB / 1.272 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.8316, allocations: 30.56 kB / 1.272 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.8316, allocations: 0 / 1.272 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005565/0.8322, allocations: 153.5 kB / 1.272 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.8322, allocations: 55.39 kB / 1.272 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.8323, allocations: 125.2 kB / 1.272 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.8323, allocations: 25.7 kB / 1.272 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.8324, allocations: 96.08 kB / 1.272 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.8324, allocations: 11.95 kB / 1.272 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.8324, allocations: 13.72 kB / 1.272 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.8326, allocations: 318.8 kB / 1.273 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.8327, allocations: 31.97 kB / 1.273 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.8329, allocations: 39.95 kB / 1.273 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.8331, allocations: 88.66 kB / 1.273 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8331, allocations: 0 / 1.273 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003099/0.8334, allocations: 109.6 kB / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.8334, allocations: 8 kB / 1.273 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.8335, allocations: 4 kB / 1.273 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.8335, allocations: 0 / 1.273 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.8336, allocations: 15.98 kB / 1.273 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.8336, allocations: 0 / 1.273 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.25e-05/0.8337, allocations: 7.984 kB / 1.273 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.8337, allocations: 4 kB / 1.273 GB, free: 0.7148 MB / 0.9669 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 8.606e-05/0.8338, allocations: 125.7 kB / 1.273 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.8338, allocations: 8.281 kB / 1.273 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.8341, allocations: 125.4 kB / 1.273 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.8341, allocations: 4 kB / 1.273 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8342, allocations: 0 / 1.273 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.8342, allocations: 3.984 kB / 1.273 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.8344, allocations: 177.6 kB / 1.273 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.8344, allocations: 0 / 1.273 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.604e-05/0.8345, allocations: 23.97 kB / 1.273 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.8345, allocations: 0 / 1.273 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.8345, allocations: 3.938 kB / 1.273 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8345, allocations: 0 / 1.273 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.8345, allocations: 4 kB / 1.273 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.8349, allocations: 215.3 kB / 1.274 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.8349, allocations: 81.05 kB / 1.274 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.8349, allocations: 4 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.835, allocations: 7.984 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.8351, allocations: 11.98 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.8351, allocations: 0 / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.528e-05/0.8352, allocations: 95.27 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8352, allocations: 0 / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002298/0.8354, allocations: 12 kB / 1.274 GB, free: 15.72 MB / 0.9825 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.0007304/0.8361, allocations: 0.748 MB / 1.274 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003375/0.8364, allocations: 83.91 kB / 1.275 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.8365, allocations: 0 / 1.275 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.8366, allocations: 35.97 kB / 1.275 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.8368, allocations: 10.22 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004917/0.8373, allocations: 190.9 kB / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.8376, allocations: 0.6885 MB / 1.275 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.8377, allocations: 3.938 kB / 1.275 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.8377, allocations: 19.42 kB / 1.275 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.8377, allocations: 0 / 1.275 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.8625, allocations: 1.911 MB / 1.277 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.296/9.159, allocations: 3.328 kB / 1.277 GB, free: 12.04 MB / 0.9825 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.237701375037432]