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.009813/0.009812, allocations: 101.4 kB / 15.73 MB, free: 6.035 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.002006/0.002006, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.543/2.543, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001295, allocations: 63.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2757, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002745/0.2785, allocations: 1.486 MB / 1.168 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003347/0.2788, allocations: 108.5 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.2789, allocations: 4 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.498e-05/0.2789, allocations: 3.938 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.818e-05/0.279, allocations: 3.938 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.2792, allocations: 23.97 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.931e-05/0.2793, allocations: 43.84 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.953e-05/0.2795, allocations: 12 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.998e-05/0.2795, allocations: 23.91 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.384e-05/0.2796, allocations: 23.91 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.2796, allocations: 4 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.362e-05/0.2797, allocations: 19.98 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.2797, allocations: 11.94 kB / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.2798, allocations: 23.86 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.2799, allocations: 55.8 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.28, allocations: 0 / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.28, allocations: 4 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.28, allocations: 0 / 1.168 GB, free: 5.457 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.0005616/0.2805, allocations: 378.9 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.2806, allocations: 12.03 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/0.2806, allocations: 30.75 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.2807, allocations: 20.78 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.2808, allocations: 172.3 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.2808, allocations: 384 / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.2809, allocations: 4.375 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.2811, allocations: 74.22 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.2812, allocations: 3.938 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.2812, allocations: 0 / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2812, allocations: 0 / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.2815, allocations: 79.91 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.2819, allocations: 292.7 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.2821, allocations: 70.52 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.2823, allocations: 40.91 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003072/0.2826, allocations: 121 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.2827, allocations: 30.56 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.2827, allocations: 0 / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005741/0.2832, allocations: 145.5 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.2833, allocations: 51.41 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.2834, allocations: 137.3 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.2834, allocations: 25.7 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.2835, allocations: 95.98 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.2835, allocations: 11.89 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.2836, allocations: 13.72 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2837, allocations: 322.8 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.2839, allocations: 35.95 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.284, allocations: 35.95 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.2843, allocations: 84.72 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2843, allocations: 0 / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003126/0.2846, allocations: 113.5 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2846, allocations: 4 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2846, allocations: 4 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2847, allocations: 0 / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.2848, allocations: 19.97 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2848, allocations: 0 / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-05/0.2849, allocations: 11.98 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.2849, allocations: 0 / 1.17 GB, free: 2.816 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 7.93e-05/0.285, allocations: 117.8 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.285, allocations: 4 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.2854, allocations: 125.4 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2854, allocations: 0 / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2854, allocations: 0 / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2854, allocations: 0 / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.2856, allocations: 193.5 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2856, allocations: 0 / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.116e-05/0.2857, allocations: 15.98 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2857, allocations: 0 / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.2857, allocations: 4 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.2857, allocations: 7.984 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2858, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.2861, allocations: 207.7 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.2862, allocations: 88.94 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.2862, allocations: 48 / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.2863, allocations: 19.97 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.2863, allocations: 0 / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.2864, allocations: 4 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.193e-05/0.2864, allocations: 107.2 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2864, allocations: 3.938 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002433/0.2867, allocations: 8 kB / 1.171 GB, free: 1.82 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.0007103/0.2874, allocations: 0.7435 MB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.2878, allocations: 83.86 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2878, allocations: 0 / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.2879, allocations: 43.95 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.2882, allocations: 7.938 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.2887, allocations: 183.1 kB / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.289, allocations: 0.6924 MB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.006e-05/0.2891, allocations: 3.984 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.2891, allocations: 19.44 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.2891, allocations: 0 / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.3083, allocations: 1.882 MB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/8.047, allocations: 6.844 kB / 1.175 GB, free: 14.16 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=50 --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