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.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.001248/0.001248, allocations: 105.4 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.00127/0.00127, allocations: 191.7 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.467/1.467, 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 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.255/3.255, allocations: 497.2 MB / 0.7811 GB, free: 33.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.001931/0.001931, allocations: 69.77 kB / 1.134 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3848, allocations: 173.9 MB / 1.304 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002826/0.3876, allocations: 1.493 MB / 1.305 GB, free: 180 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003949/0.388, allocations: 107.7 kB / 1.306 GB, free: 72 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.388, allocations: 0 / 1.306 GB, free: 72 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.055e-05/0.3881, allocations: 3.938 kB / 1.306 GB, free: 68 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.7e-05/0.3882, allocations: 11.88 kB / 1.306 GB, free: 56 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.3884, allocations: 23.95 kB / 1.306 GB, free: 32 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.3886, allocations: 47.84 kB / 1.306 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.3887, allocations: 12 kB / 1.306 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.3888, allocations: 15.92 kB / 1.306 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.352e-05/0.3889, allocations: 23.92 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.3889, allocations: 4 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-05/0.389, allocations: 23.97 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.972e-05/0.389, allocations: 7.938 kB / 1.306 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.3891, allocations: 19.86 kB / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.3893, allocations: 64.02 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.3893, allocations: 0 / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3893, allocations: 0 / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3893, allocations: 0 / 1.306 GB, free: 15.82 MB / 1.014 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.0008363/0.3901, allocations: 383.2 kB / 1.306 GB, free: 15.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.676e-05/0.3902, allocations: 8.625 kB / 1.306 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.117e-05/0.3902, allocations: 30.75 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.3903, allocations: 8.891 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.3905, allocations: 192.1 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.3905, allocations: 384 / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.3906, allocations: 4.375 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.3909, allocations: 74.22 kB / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3909, allocations: 3.938 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3909, allocations: 0 / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.3909, allocations: 4 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.3912, allocations: 67.92 kB / 1.307 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.3917, allocations: 292.9 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.3919, allocations: 70.47 kB / 1.307 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.3921, allocations: 40.91 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003121/0.3924, allocations: 113.1 kB / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.3924, allocations: 34.56 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.3924, allocations: 0 / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0006131/0.393, allocations: 149.7 kB / 1.307 GB, free: 14.17 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.3931, allocations: 51.41 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3932, allocations: 129.8 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.3933, allocations: 25.7 kB / 1.307 GB, free: 13.94 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.3933, allocations: 92.14 kB / 1.307 GB, free: 13.85 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.3934, allocations: 11.88 kB / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.3934, allocations: 17.72 kB / 1.307 GB, free: 13.81 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3936, allocations: 322.8 kB / 1.308 GB, free: 13.49 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.3937, allocations: 35.95 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.3938, allocations: 35.95 kB / 1.308 GB, free: 13.42 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.3941, allocations: 84.7 kB / 1.308 GB, free: 13.33 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3941, allocations: 8 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003292/0.3945, allocations: 113.5 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3945, allocations: 4 kB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3945, allocations: 4 kB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.3945, allocations: 0 / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.3947, allocations: 15.97 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3947, allocations: 4 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.493e-05/0.3947, allocations: 11.98 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3948, allocations: 0 / 1.308 GB, free: 13.17 MB / 1.014 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.0001203/0.3949, allocations: 121.8 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.3949, allocations: 7.953 kB / 1.308 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.3953, allocations: 129.4 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3953, allocations: 0 / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3953, allocations: 0 / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3953, allocations: 0 / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.3955, allocations: 181.6 kB / 1.309 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3955, allocations: 0 / 1.309 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.133e-05/0.3956, allocations: 19.92 kB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3956, allocations: 0 / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3956, allocations: 0 / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-06/0.3956, allocations: 0 / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3956, allocations: 4 kB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.396, allocations: 211.4 kB / 1.309 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.3961, allocations: 85.06 kB / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.3961, allocations: 3.984 kB / 1.309 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3962, allocations: 15.98 kB / 1.309 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.3962, allocations: 0 / 1.309 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3962, allocations: 7.938 kB / 1.309 GB, free: 12.29 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.887e-05/0.3963, allocations: 111.2 kB / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3963, allocations: 0 / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002281/0.3965, allocations: 8 kB / 1.309 GB, free: 12.17 MB / 1.014 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.0008563/0.3974, allocations: 0.7435 MB / 1.31 GB, free: 11.41 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003354/0.3977, allocations: 76.2 kB / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3977, allocations: 7.938 kB / 1.31 GB, free: 11.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.3979, allocations: 39.95 kB / 1.31 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.3982, allocations: 7.609 kB / 1.31 GB, free: 11.28 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.3988, allocations: 198.8 kB / 1.31 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.3991, allocations: 0.6884 MB / 1.311 GB, free: 10.33 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.3992, allocations: 8 kB / 1.311 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.3992, allocations: 15.44 kB / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/0.3992, allocations: 0 / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.4262, allocations: 1.902 MB / 1.313 GB, free: 8.496 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/8.642, allocations: 2.5 kB / 1.313 GB, free: 8.496 MB / 1.014 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.421586176380515]