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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00697/0.006971, allocations: 96.56 kB / 15.73 MB, free: 6.055 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.001776/0.001776, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.804/2.804, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3048, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002577/0.3074, allocations: 1.482 MB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003031/0.3077, allocations: 112.5 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.3078, allocations: 0 / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.217e-05/0.3078, allocations: 3.938 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.035e-05/0.3079, allocations: 3.938 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.3081, allocations: 27.97 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.202e-05/0.3082, allocations: 47.78 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.3083, allocations: 12 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.695e-05/0.3083, allocations: 19.92 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.027e-05/0.3084, allocations: 27.89 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.3084, allocations: 4 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.038e-05/0.3085, allocations: 15.98 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.3085, allocations: 19.92 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.3086, allocations: 15.88 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.3087, allocations: 60.02 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3087, allocations: 0 / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3087, allocations: 4 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3087, allocations: 0 / 1.168 GB, free: 5.445 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.0005508/0.3093, allocations: 387.1 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.3093, allocations: 12.03 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.489e-05/0.3094, allocations: 30.75 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.3094, allocations: 12.89 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.3096, allocations: 179.8 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3096, allocations: 4.375 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.3096, allocations: 4.375 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.3098, allocations: 74.22 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3099, allocations: 3.938 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.3099, allocations: 0 / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3099, allocations: 3.984 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.3102, allocations: 75.86 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.3106, allocations: 284.9 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.3109, allocations: 66.53 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.311, allocations: 40.91 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/0.3113, allocations: 113.1 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.3113, allocations: 34.56 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.3113, allocations: 0 / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005801/0.3119, allocations: 149.5 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.312, allocations: 55.41 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3121, allocations: 121.8 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.3121, allocations: 25.7 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.3122, allocations: 100.1 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.3122, allocations: 11.91 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.3122, allocations: 13.72 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3124, allocations: 318.8 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.3125, allocations: 39.95 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.3127, allocations: 35.95 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.313, allocations: 84.66 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.313, allocations: 4 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003722/0.3134, allocations: 113.8 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3134, allocations: 10.03 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.3134, allocations: 48 / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.3135, allocations: 7.969 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.3136, allocations: 11.98 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3136, allocations: 8 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.67e-05/0.3137, allocations: 11.92 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.3137, allocations: 0 / 1.17 GB, free: 2.797 MB / 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 8.815e-05/0.3138, allocations: 121.8 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.3138, allocations: 4 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003837/0.3142, allocations: 125.4 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3142, allocations: 0 / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3142, allocations: 0 / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3143, allocations: 4 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.3145, allocations: 177.6 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3145, allocations: 0 / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.591e-05/0.3146, allocations: 15.98 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3146, allocations: 3.984 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3146, allocations: 4 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3146, allocations: 0 / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3146, allocations: 4 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.315, allocations: 211.3 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.3151, allocations: 85.06 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.3151, allocations: 0 / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.3152, allocations: 15.98 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.3152, allocations: 4 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.3153, allocations: 3.984 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.025e-05/0.3153, allocations: 99.27 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3153, allocations: 3.938 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002319/0.3156, allocations: 8 kB / 1.171 GB, free: 1.816 MB / 0.92 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.0007246/0.3163, allocations: 0.7475 MB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003633/0.3167, allocations: 83.84 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3167, allocations: 8 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.3169, allocations: 35.97 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.3171, allocations: 9.891 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.3176, allocations: 190.9 kB / 1.172 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.3179, allocations: 0.6924 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.087e-05/0.318, allocations: 8 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.318, allocations: 19.38 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.318, allocations: 3.938 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.3398, allocations: 1.87 MB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.392, allocations: 8.031 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches