Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001309/0.001309, allocations: 106.9 kB / 16.45 MB, free: 6.035 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.001251/0.001251, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.479/1.479, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.672/2.672, allocations: 443.5 MB / 0.7287 GB, free: 13.2 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 71.89 kB / 1.056 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8122/0.8141, allocations: 160.7 MB / 1.213 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003106/0.8172, allocations: 1.494 MB / 1.214 GB, free: 2.762 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003628/0.8176, allocations: 115.6 kB / 1.214 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.8176, allocations: 5.344 kB / 1.214 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.451e-05/0.8177, allocations: 3.938 kB / 1.214 GB, free: 2.66 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.508e-05/0.8177, allocations: 13.62 kB / 1.215 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.8179, allocations: 22.25 kB / 1.215 GB, free: 2.633 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.913e-05/0.818, allocations: 41.27 kB / 1.215 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.8181, allocations: 11.23 kB / 1.215 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.453e-05/0.8182, allocations: 13.84 kB / 1.215 GB, free: 2.594 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.8183, allocations: 25.88 kB / 1.215 GB, free: 2.574 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.8183, allocations: 4.094 kB / 1.215 GB, free: 2.574 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-05/0.8184, allocations: 31.89 kB / 1.215 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.8184, allocations: 11.2 kB / 1.215 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.8185, allocations: 19.77 kB / 1.215 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.8186, allocations: 62.62 kB / 1.215 GB, free: 2.488 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8186, allocations: 0 / 1.215 GB, free: 2.488 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8186, allocations: 0 / 1.215 GB, free: 2.488 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.8186, allocations: 1.094 kB / 1.215 GB, free: 2.488 MB / 0.92 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.0006282/0.8193, allocations: 378.5 kB / 1.215 GB, free: 2.094 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.8193, allocations: 17.66 kB / 1.215 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.8194, allocations: 35.86 kB / 1.215 GB, free: 2.043 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.8194, allocations: 8.047 kB / 1.215 GB, free: 2.039 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.8196, allocations: 176.3 kB / 1.215 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.8196, allocations: 5.438 kB / 1.215 GB, free: 1.828 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.8197, allocations: 2.344 kB / 1.215 GB, free: 1.828 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.8199, allocations: 75.3 kB / 1.215 GB, free: 1.773 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.82, allocations: 3.938 kB / 1.215 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.82, allocations: 5.062 kB / 1.215 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.82, allocations: 0 / 1.215 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.8203, allocations: 76.11 kB / 1.215 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.8209, allocations: 284.7 kB / 1.216 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.8211, allocations: 71.59 kB / 1.216 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.8213, allocations: 39.33 kB / 1.216 GB, free: 1.359 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003471/0.8216, allocations: 106.4 kB / 1.216 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.8217, allocations: 35.31 kB / 1.216 GB, free: 1.215 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.8217, allocations: 0.7188 kB / 1.216 GB, free: 1.215 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0006407/0.8223, allocations: 150.7 kB / 1.216 GB, free: 1.129 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.8224, allocations: 55.39 kB / 1.216 GB, free: 1.062 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.8225, allocations: 125.1 kB / 1.216 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.8226, allocations: 29.7 kB / 1.216 GB, free: 0.918 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.374e-05/0.8227, allocations: 95.41 kB / 1.216 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.8227, allocations: 9.25 kB / 1.216 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.8227, allocations: 16.75 kB / 1.216 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.8229, allocations: 321 kB / 1.217 GB, free: 488 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.8231, allocations: 37.34 kB / 1.217 GB, free: 472 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.8232, allocations: 41.33 kB / 1.217 GB, free: 452 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.8235, allocations: 86.69 kB / 1.217 GB, free: 404 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8235, allocations: 0 / 1.217 GB, free: 404 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003734/0.8239, allocations: 118.1 kB / 1.217 GB, free: 328 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.8239, allocations: 5.875 kB / 1.217 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.8239, allocations: 3.984 kB / 1.217 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.824, allocations: 1.156 kB / 1.217 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.8241, allocations: 18.27 kB / 1.217 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.8241, allocations: 0 / 1.217 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.8242, allocations: 11.36 kB / 1.217 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.8242, allocations: 1.031 kB / 1.217 GB, free: 312 kB / 0.92 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.0001341/0.8243, allocations: 125.8 kB / 1.217 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.8244, allocations: 2.812 kB / 1.217 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004072/0.8248, allocations: 122.3 kB / 1.217 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.8248, allocations: 0 / 1.217 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.8248, allocations: 1.094 kB / 1.217 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.8248, allocations: 3.984 kB / 1.217 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.8251, allocations: 180.2 kB / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.8251, allocations: 0 / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.802e-05/0.8252, allocations: 19.25 kB / 1.218 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.8252, allocations: 0 / 1.218 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.8252, allocations: 0 / 1.218 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.8252, allocations: 5.219 kB / 1.218 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8252, allocations: 0 / 1.218 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.8256, allocations: 213.4 kB / 1.218 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.8257, allocations: 85.91 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.8257, allocations: 1.25 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.8258, allocations: 14.3 kB / 1.218 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.8258, allocations: 6.141 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.8258, allocations: 1.25 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.881e-05/0.8259, allocations: 103.9 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8259, allocations: 0 / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002281/0.8262, allocations: 9.719 kB / 1.218 GB, free: 15.48 MB / 0.9356 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.0008001/0.827, allocations: 0.7419 MB / 1.219 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.8273, allocations: 82.28 kB / 1.219 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8273, allocations: 0 / 1.219 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.8275, allocations: 39.41 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.8277, allocations: 17.3 kB / 1.219 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005973/0.8283, allocations: 181.2 kB / 1.219 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.8288, allocations: 0.6832 MB / 1.22 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.648e-05/0.8288, allocations: 2.688 kB / 1.22 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.8289, allocations: 21.67 kB / 1.22 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.8289, allocations: 0 / 1.22 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05123/0.8801, allocations: 1.893 MB / 1.221 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/8.942, allocations: 13.14 kB / 1.222 GB, free: 12.8 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.9032624932006]