Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.007796/0.007796, allocations: 100.3 kB / 15.73 MB, free: 6.469 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.00181/0.00181, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.312/2.312, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 71.7 kB / 0.9505 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.284, allocations: 140.4 MB / 1.088 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.001947/0.286, allocations: 0.7019 MB / 1.088 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008685/0.2869, allocations: 0.8043 MB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.2869, allocations: 4 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.287, allocations: 3.938 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.115e-05/0.2871, allocations: 11.92 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.185e-05/0.2871, allocations: 7.984 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.12e-05/0.2872, allocations: 51.84 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.765e-05/0.2873, allocations: 4 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.308e-05/0.2874, allocations: 23.92 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.246e-05/0.2874, allocations: 19.86 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.2875, allocations: 8 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.455e-06/0.2875, allocations: 4 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.2875, allocations: 7.984 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.2875, allocations: 15.94 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.961e-05/0.2876, allocations: 47.78 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2876, allocations: 0 / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2876, allocations: 0 / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2876, allocations: 0 / 1.089 GB, free: 236 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.0004586/0.2881, allocations: 358.3 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2882, allocations: 12.03 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.816e-05/0.2882, allocations: 34.75 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.2882, allocations: 4.844 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.2883, allocations: 173.2 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.2884, allocations: 384 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.2884, allocations: 8.312 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.2886, allocations: 66.22 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2887, allocations: 7.938 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.2887, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2887, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.289, allocations: 63.92 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.2894, allocations: 272.8 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.2896, allocations: 54.48 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.2897, allocations: 48.91 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.2898, allocations: 0 / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.2898, allocations: 30.56 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 2.324e-06/0.2898, allocations: 7.938 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005256/0.2903, allocations: 125.6 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2904, allocations: 55.34 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/0.2905, allocations: 117.8 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.2905, allocations: 25.7 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.2906, allocations: 84.14 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.2906, allocations: 15.81 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.2906, allocations: 17.64 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.2907, allocations: 318.8 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.2909, allocations: 27.97 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.291, allocations: 35.95 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.2913, allocations: 73 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.2913, allocations: 4 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003213/0.2917, allocations: 101.5 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2917, allocations: 8 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2917, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2917, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.2918, allocations: 15.98 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.2918, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.417e-05/0.2919, allocations: 11.98 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.2919, allocations: 0 / 1.091 GB, free: 13.86 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 7.746e-05/0.292, allocations: 129.7 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.292, allocations: 3.906 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/0.2921, allocations: 3.906 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2921, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2921, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2921, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.2923, allocations: 173.6 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2923, allocations: 3.984 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.766e-05/0.2924, allocations: 11.98 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2924, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.2924, allocations: 8 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2924, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2924, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.2928, allocations: 195.4 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.2928, allocations: 85 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.2928, allocations: 4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.2929, allocations: 11.98 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.293, allocations: 8 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.293, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.965e-05/0.2931, allocations: 83.27 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2931, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002159/0.2933, allocations: 11.94 kB / 1.092 GB, free: 13.04 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.0006726/0.294, allocations: 0.7386 MB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000378/0.2944, allocations: 71.92 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2944, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.2945, allocations: 31.97 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.2948, allocations: 7.984 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.2953, allocations: 159.2 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.2955, allocations: 0.6923 MB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.94e-05/0.2956, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.2956, allocations: 15.44 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.2956, allocations: 0 / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02003/0.3157, allocations: 1.641 MB / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/7.952, allocations: 14.23 kB / 1.095 GB, free: 9.676 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches