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.005448/0.005448, allocations: 96.39 kB / 15.73 MB, free: 6 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.001439/0.001439, allocations: 189.4 kB / 16.67 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.456/2.456, allocations: 437.1 MB / 0.7106 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 67.88 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2872, allocations: 151.6 MB / 1.166 GB, free: 7.238 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002555/0.2898, allocations: 1.484 MB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003084/0.2901, allocations: 104.6 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.2902, allocations: 0 / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.858e-05/0.2902, allocations: 7.922 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.317e-05/0.2903, allocations: 7.938 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.2905, allocations: 27.91 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.257e-05/0.2906, allocations: 39.92 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.142e-05/0.2907, allocations: 15.98 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.072e-05/0.2908, allocations: 19.91 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.2908, allocations: 23.92 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.2908, allocations: 4 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.414e-05/0.2909, allocations: 23.92 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.587e-05/0.291, allocations: 15.92 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.291, allocations: 23.86 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.2911, allocations: 59.95 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2911, allocations: 0 / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2912, allocations: 0 / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2912, allocations: 4 kB / 1.168 GB, free: 5.359 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.0005409/0.2917, allocations: 383.1 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2918, allocations: 8.031 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.2918, allocations: 38.75 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.2918, allocations: 4.891 kB / 1.168 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.292, allocations: 172.3 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.292, allocations: 4.375 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-06/0.292, allocations: 384 / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.2923, allocations: 82.2 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2923, allocations: 3.938 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.2923, allocations: 4 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2923, allocations: 3.938 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.2926, allocations: 75.92 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.293, allocations: 284.9 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.2932, allocations: 62.53 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.2934, allocations: 40.92 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.2936, allocations: 113.1 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.2937, allocations: 34.5 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2937, allocations: 4 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005636/0.2942, allocations: 153.6 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.2943, allocations: 51.41 kB / 1.169 GB, free: 3.656 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.2944, allocations: 125.8 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.2944, allocations: 29.69 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.2945, allocations: 92.08 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.2945, allocations: 11.91 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.2945, allocations: 13.72 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2947, allocations: 322.8 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.2949, allocations: 35.95 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.295, allocations: 39.91 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.2953, allocations: 80.72 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2953, allocations: 4 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003378/0.2956, allocations: 113.6 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2957, allocations: 4 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2957, allocations: 0 / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.2957, allocations: 0 / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.2958, allocations: 15.98 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.2958, allocations: 7.938 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.123e-05/0.2959, allocations: 19.91 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.2959, allocations: 0 / 1.17 GB, free: 2.715 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.904e-05/0.296, allocations: 121.7 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.2961, allocations: 4 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003838/0.2965, allocations: 125.5 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2965, allocations: 0 / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2965, allocations: 0 / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2965, allocations: 0 / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.2967, allocations: 185.6 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2967, allocations: 0 / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.053e-05/0.2968, allocations: 11.98 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2968, allocations: 0 / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.2968, allocations: 4 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2968, allocations: 4 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2968, allocations: 4 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.2972, allocations: 207.3 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.2973, allocations: 85.06 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.2973, allocations: 0 / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.2974, allocations: 11.98 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.2974, allocations: 7.984 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.2974, allocations: 4 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.661e-05/0.2975, allocations: 98.77 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2975, allocations: 3.938 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002377/0.2978, allocations: 12 kB / 1.171 GB, free: 1.738 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.0007494/0.2985, allocations: 0.7555 MB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003517/0.2989, allocations: 79.95 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.2989, allocations: 4 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.2991, allocations: 39.95 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.2993, allocations: 8 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004595/0.2998, allocations: 190.9 kB / 1.172 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.3001, allocations: 0.6885 MB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.874e-05/0.3001, allocations: 7.984 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.3002, allocations: 19.44 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.3002, allocations: 0 / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2866/0.5868, allocations: 1.882 MB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.632/10.22, allocations: 3.953 kB / 1.175 GB, free: 14.06 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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