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.001906/0.001906, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002582/0.002582, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.541/1.541, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.881/2.881, allocations: 476.7 MB / 0.7678 GB, free: 9.5 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="cs",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.002059/0.002059, allocations: 63.91 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.064, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003298/1.068, allocations: 1.512 MB / 1.28 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004276/1.068, allocations: 120.1 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.978e-05/1.068, allocations: 0 / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.375e-05/1.068, allocations: 6.125 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.476e-05/1.068, allocations: 6.328 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/1.068, allocations: 20.84 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/1.069, allocations: 51.77 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/1.069, allocations: 9.094 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.131e-05/1.069, allocations: 22.17 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/1.069, allocations: 23.08 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/1.069, allocations: 4.094 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/1.069, allocations: 20.55 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.671e-05/1.069, allocations: 10.38 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.623e-05/1.069, allocations: 23.56 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/1.069, allocations: 58.89 kB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/1.069, allocations: 0 / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/1.069, allocations: 0 / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.992e-06/1.069, allocations: 9.062 kB / 1.281 GB, free: 10.46 MB / 0.9981 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.0007067/1.07, allocations: 383.8 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/1.07, allocations: 9.656 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.54e-05/1.07, allocations: 5.281 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.498e-05/1.07, allocations: 31.64 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/1.07, allocations: 4.219 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/1.07, allocations: 179 kB / 1.281 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/1.07, allocations: 9.469 kB / 1.281 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/1.07, allocations: 1.5 kB / 1.281 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/1.071, allocations: 77.3 kB / 1.281 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.071, allocations: 0.6562 kB / 1.281 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/1.071, allocations: 1.125 kB / 1.281 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.071, allocations: 3.938 kB / 1.281 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/1.071, allocations: 80.59 kB / 1.282 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/1.072, allocations: 283.6 kB / 1.282 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/1.072, allocations: 63.61 kB / 1.282 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/1.072, allocations: 45.06 kB / 1.282 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003883/1.072, allocations: 107 kB / 1.282 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/1.072, allocations: 35.7 kB / 1.282 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.512e-06/1.072, allocations: 0.5312 kB / 1.282 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0007405/1.073, allocations: 150.9 kB / 1.282 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/1.073, allocations: 51.91 kB / 1.282 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/1.073, allocations: 124.5 kB / 1.282 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/1.073, allocations: 26.2 kB / 1.282 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/1.073, allocations: 92.97 kB / 1.282 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/1.073, allocations: 6.078 kB / 1.282 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/1.074, allocations: 21.62 kB / 1.283 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.074, allocations: 323.4 kB / 1.283 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/1.074, allocations: 34.95 kB / 1.283 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/1.074, allocations: 36.45 kB / 1.283 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/1.074, allocations: 83.39 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.074, allocations: 0.6094 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003723/1.075, allocations: 116.8 kB / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.075, allocations: 4.766 kB / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.075, allocations: 1.188 kB / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/1.075, allocations: 4 kB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/1.075, allocations: 16.98 kB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.075, allocations: 0.7031 kB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.471e-05/1.075, allocations: 10.5 kB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/1.075, allocations: 5.781 kB / 1.283 GB, free: 8.512 MB / 0.9981 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.0001016/1.075, allocations: 118.7 kB / 1.283 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/1.075, allocations: 11.89 kB / 1.283 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004201/1.076, allocations: 122.2 kB / 1.283 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/1.076, allocations: 1.406 kB / 1.283 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.076, allocations: 0.7969 kB / 1.283 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.076, allocations: 1.125 kB / 1.283 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/1.076, allocations: 182.1 kB / 1.284 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/1.076, allocations: 1.938 kB / 1.284 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/1.076, allocations: 19.12 kB / 1.284 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/1.076, allocations: 1.344 kB / 1.284 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/1.076, allocations: 0 / 1.284 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.076, allocations: 0.7031 kB / 1.284 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.076, allocations: 1.375 kB / 1.284 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/1.076, allocations: 215.9 kB / 1.284 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/1.076, allocations: 90.86 kB / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/1.076, allocations: 5.859 kB / 1.284 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/1.077, allocations: 11.05 kB / 1.284 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/1.077, allocations: 3.375 kB / 1.284 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/1.077, allocations: 2.172 kB / 1.284 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.469e-05/1.077, allocations: 100.9 kB / 1.284 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.077, allocations: 1.344 kB / 1.284 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002447/1.077, allocations: 10.08 kB / 1.284 GB, free: 7.766 MB / 0.9981 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.0008114/1.078, allocations: 0.7458 MB / 1.285 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003944/1.078, allocations: 84.17 kB / 1.285 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.078, allocations: 0 / 1.285 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/1.078, allocations: 38.64 kB / 1.285 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/1.079, allocations: 5.562 kB / 1.285 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/1.079, allocations: 203.2 kB / 1.285 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/1.079, allocations: 0.6897 MB / 1.286 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.812e-05/1.079, allocations: 2.109 kB / 1.286 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/1.08, allocations: 20.03 kB / 1.286 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.08, allocations: 0 / 1.286 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/1.098, allocations: 1.945 MB / 1.288 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.375/9.474, allocations: 5.594 kB / 1.288 GB, free: 5.727 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.002236290019937]