Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006729/0.006729, allocations: 105.4 kB / 15.74 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 199.9 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.55 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2886, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002686/0.2913, allocations: 1.482 MB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003503/0.2917, allocations: 108.6 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.2918, allocations: 3.938 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.528e-05/0.2918, allocations: 0 / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.217e-05/0.2919, allocations: 15.86 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.2921, allocations: 23.97 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.813e-05/0.2922, allocations: 47.8 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.2924, allocations: 19.97 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.27e-05/0.2924, allocations: 11.94 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.2925, allocations: 23.91 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.2925, allocations: 4 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.922e-05/0.2926, allocations: 19.98 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.2926, allocations: 7.984 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.2927, allocations: 23.81 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.2928, allocations: 63.84 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2928, allocations: 4 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2928, allocations: 0 / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2928, allocations: 0 / 1.089 GB, free: 116 kB / 0.8419 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.0005797/0.2934, allocations: 375 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.2935, allocations: 8.031 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.52e-05/0.2936, allocations: 34.73 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.2936, allocations: 12.78 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.2937, allocations: 172.2 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.2937, allocations: 4.375 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.2938, allocations: 12.31 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.294, allocations: 74.2 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2941, allocations: 3.938 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.2941, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2941, allocations: 4 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.2944, allocations: 71.92 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.2948, allocations: 288.8 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.295, allocations: 70.47 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.2952, allocations: 44.92 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002648/0.2954, allocations: 105.1 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.2955, allocations: 30.56 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.2955, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006131/0.2961, allocations: 161.4 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.2962, allocations: 55.39 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.2963, allocations: 127.7 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.2963, allocations: 25.7 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.2964, allocations: 92.12 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.2964, allocations: 15.8 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.2965, allocations: 21.72 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2966, allocations: 314.8 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.2967, allocations: 35.97 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.2969, allocations: 39.95 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.2972, allocations: 80.72 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2972, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003354/0.2976, allocations: 113.5 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2976, allocations: 4 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2976, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2976, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.2977, allocations: 23.98 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.2978, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.699e-05/0.2978, allocations: 15.89 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.2979, allocations: 4 kB / 1.092 GB, free: 13.47 MB / 0.8575 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.548e-05/0.298, allocations: 121.8 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.298, allocations: 3.938 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003619/0.2984, allocations: 121.5 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.2984, allocations: 4 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2984, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.2984, allocations: 3.984 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.2985, allocations: 173.6 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2986, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.547e-05/0.2987, allocations: 15.97 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2987, allocations: 4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.2987, allocations: 3.938 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.2987, allocations: 4 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2987, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.2991, allocations: 207.3 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.2991, allocations: 88.95 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.2991, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2993, allocations: 11.98 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.2993, allocations: 7.984 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.2993, allocations: 0 / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.195e-05/0.2994, allocations: 105.6 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2994, allocations: 0 / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002268/0.2996, allocations: 12 kB / 1.092 GB, free: 12.49 MB / 0.8575 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.0007055/0.3003, allocations: 0.7362 MB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003555/0.3007, allocations: 87.94 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3007, allocations: 7.938 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.3009, allocations: 35.97 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.3011, allocations: 11.89 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.3016, allocations: 183.2 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.302, allocations: 0.6885 MB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.941e-05/0.302, allocations: 0 / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.3021, allocations: 23.42 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of SimCode: time 3.4e-07/0.3021, allocations: 0 / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.3193, allocations: 1.876 MB / 1.096 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.348, allocations: 4 kB / 1.096 GB, free: 8.84 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches