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.001774/0.001774, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002273/0.002273, allocations: 217.2 kB / 22.25 MB, free: 5.125 MB / 14.72 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 1.587/1.587, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.836/2.836, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.61 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.364, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002998/0.367, allocations: 1.52 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000343/0.3673, allocations: 115.6 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.591e-05/0.3674, allocations: 0 / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.004e-05/0.3674, allocations: 0 / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.129e-05/0.3675, allocations: 15.86 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.3677, allocations: 19.97 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.191e-05/0.3678, allocations: 43.84 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.801e-05/0.3679, allocations: 12 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.217e-05/0.3679, allocations: 23.86 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.368e-05/0.368, allocations: 19.92 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.368, allocations: 4 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.921e-05/0.3681, allocations: 19.98 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.3681, allocations: 15.92 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.3682, allocations: 27.84 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.3683, allocations: 55.27 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3683, allocations: 8 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3683, allocations: 0 / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.3683, allocations: 0 / 1.285 GB, free: 9.84 MB / 0.9825 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.0005778/0.3689, allocations: 302.1 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.369, allocations: 8.031 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.369, allocations: 34.75 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.369, allocations: 4.938 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.3692, allocations: 126.8 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.3692, allocations: 4.375 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.3692, allocations: 384 / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.3695, allocations: 78.2 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3695, allocations: 3.938 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3695, allocations: 4 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3695, allocations: 0 / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.3698, allocations: 75.92 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.3702, allocations: 259.9 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.3705, allocations: 66.52 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.3706, allocations: 40.92 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002511/0.3709, allocations: 35.97 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.3709, allocations: 30.56 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3709, allocations: 0 / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005806/0.3715, allocations: 153.5 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.3715, allocations: 55.41 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.3716, allocations: 128.2 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.3717, allocations: 25.7 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.3717, allocations: 96.12 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.3718, allocations: 11.84 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.3718, allocations: 13.72 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.372, allocations: 318.8 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.3721, allocations: 39.91 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.3722, allocations: 39.95 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.3725, allocations: 80.72 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3725, allocations: 4 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003401/0.3729, allocations: 113.5 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3729, allocations: 4 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.3729, allocations: 3.938 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3729, allocations: 0 / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.373, allocations: 19.98 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.373, allocations: 7.984 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.003e-05/0.3731, allocations: 11.98 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.3731, allocations: 0 / 1.287 GB, free: 7.488 MB / 0.9825 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 9.678e-05/0.3732, allocations: 121.8 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.3732, allocations: 7.953 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/0.3736, allocations: 117.5 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3736, allocations: 4 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3736, allocations: 0 / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3736, allocations: 0 / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.3738, allocations: 156.7 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3738, allocations: 0 / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.529e-05/0.3739, allocations: 15.97 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3739, allocations: 0 / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3739, allocations: 4 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3739, allocations: 0 / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3739, allocations: 4 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.3743, allocations: 207.7 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.3743, allocations: 7.953 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.3744, allocations: 0 / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.3745, allocations: 19.92 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.3745, allocations: 12.02 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3745, allocations: 0 / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.969e-05/0.3746, allocations: 95.27 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3746, allocations: 4 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002336/0.3748, allocations: 8 kB / 1.288 GB, free: 6.641 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.0007336/0.3755, allocations: 0.751 MB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003566/0.3759, allocations: 83.78 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3759, allocations: 4 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.3761, allocations: 35.97 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.3763, allocations: 14.33 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005208/0.3768, allocations: 187 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.3772, allocations: 0.6885 MB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.033e-05/0.3772, allocations: 4 kB / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.3773, allocations: 23.36 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3773, allocations: 0 / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.4076, allocations: 2 MB / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.61, allocations: 6.25 kB / 1.292 GB, free: 2.898 MB / 0.9825 GB " [Timeout remaining time 288] (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/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: 18.577806043904275]