Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.Validation.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",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.005434/0.005434, allocations: 104.5 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.001149/0.001149, allocations: 195.7 kB / 16.67 MB, free: 5.969 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.879/2.879, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.91 kB / 1.054 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2958, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001918/0.2978, allocations: 0.673 MB / 1.208 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009423/0.2988, allocations: 0.804 MB / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.2988, allocations: 0 / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.858e-05/0.2989, allocations: 0 / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.681e-05/0.299, allocations: 3.938 kB / 1.209 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.2991, allocations: 11.98 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.785e-05/0.2992, allocations: 19.92 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2993, allocations: 12 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.485e-05/0.2994, allocations: 11.92 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.368e-05/0.2994, allocations: 11.98 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.2994, allocations: 3.938 kB / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-06/0.2995, allocations: 4 kB / 1.209 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.2995, allocations: 7.938 kB / 1.209 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.2995, allocations: 3.984 kB / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.712e-05/0.2996, allocations: 23.91 kB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2996, allocations: 0 / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2996, allocations: 4 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.2996, allocations: 0 / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004429/0.3001, allocations: 343.7 kB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3001, allocations: 8.625 kB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.3002, allocations: 34.69 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.3002, allocations: 4.938 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.3003, allocations: 160.4 kB / 1.209 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3004, allocations: 384 / 1.209 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.3004, allocations: 4.375 kB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.3006, allocations: 54.23 kB / 1.209 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3006, allocations: 3.938 kB / 1.209 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3006, allocations: 0 / 1.209 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3006, allocations: 0 / 1.209 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.3008, allocations: 31.95 kB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.3011, allocations: 256.8 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.3013, allocations: 50.48 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.972e-05/0.3014, allocations: 20.91 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.3014, allocations: 0 / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3014, allocations: 30.56 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3014, allocations: 0 / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003745/0.3018, allocations: 89.58 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.3019, allocations: 51.41 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.602e-05/0.3019, allocations: 101.8 kB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.302, allocations: 25.7 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.302, allocations: 84.14 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.302, allocations: 3.906 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.3021, allocations: 13.72 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.3022, allocations: 319 kB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.212e-05/0.3023, allocations: 15.97 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.629e-05/0.3023, allocations: 19.98 kB / 1.211 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.3025, allocations: 32.83 kB / 1.211 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3025, allocations: 7.938 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001953/0.3027, allocations: 69.66 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3027, allocations: 4 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3027, allocations: 4 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3028, allocations: 0 / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.269e-05/0.3029, allocations: 11.92 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3029, allocations: 0 / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.3029, allocations: 4 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3029, allocations: 8.016 kB / 1.211 GB, free: 6.422 MB / 0.9669 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 (2): * Single equations (assignments): 2 * 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 6.915e-05/0.303, allocations: 117.8 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.303, allocations: 192 / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.3033, allocations: 72.72 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3033, allocations: 3.984 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3033, allocations: 0 / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.3033, allocations: 0 / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.3035, allocations: 169.5 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3035, allocations: 0 / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.3035, allocations: 8 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.3035, allocations: 4 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.3036, allocations: 3.938 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3036, allocations: 0 / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.3036, allocations: 3.984 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.3038, allocations: 163.5 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.3038, allocations: 85.03 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.3039, allocations: 0 / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.3039, allocations: 4 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.304, allocations: 11.92 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.304, allocations: 4 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.597e-05/0.304, allocations: 79.28 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.304, allocations: 0 / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002137/0.3043, allocations: 8.031 kB / 1.211 GB, free: 5.602 MB / 0.9669 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 (2): * Single equations (assignments): 2 * 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.0004954/0.3048, allocations: 0.689 MB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.305, allocations: 47.92 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.305, allocations: 0 / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.352e-05/0.3051, allocations: 15.98 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.3054, allocations: 4 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/0.3059, allocations: 151.6 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.3061, allocations: 0.6769 MB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.3061, allocations: 0 / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.3062, allocations: 19.42 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of SimCode: time 2.61e-07/0.3062, allocations: 0 / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.3235, allocations: 1.277 MB / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/7.797, allocations: 10.7 kB / 1.214 GB, free: 2.703 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches