Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round",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.00149/0.00149, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001747/0.001747, allocations: 195.6 kB / 16.26 MB, free: 6.621 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.255/1.255, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.363/2.363, allocations: 461.9 MB / 0.7343 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 66.17 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3081, allocations: 157.4 MB / 1.052 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002123/0.3102, allocations: 0.8217 MB / 1.053 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.3112, allocations: 0.8468 MB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.3113, allocations: 0 / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.776e-05/0.3114, allocations: 3.938 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.004e-05/0.3115, allocations: 7.984 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.3116, allocations: 27.91 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.57e-05/0.3117, allocations: 63.91 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3119, allocations: 23.84 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.848e-05/0.3119, allocations: 35.84 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/0.312, allocations: 39.83 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.3121, allocations: 8 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.3121, allocations: 8 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.3121, allocations: 15.92 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.3122, allocations: 31.86 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.3123, allocations: 75.73 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3123, allocations: 4 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.546e-06/0.3123, allocations: 3.938 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.3123, allocations: 3.938 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005338/0.3128, allocations: 371.5 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3129, allocations: 12.61 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.3129, allocations: 38.75 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.313, allocations: 8.844 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.3131, allocations: 168.3 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.3131, allocations: 8.375 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.3132, allocations: 4.375 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.3134, allocations: 86.12 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3134, allocations: 11.92 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3134, allocations: 0 / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3134, allocations: 4 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.3137, allocations: 71.88 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.3141, allocations: 328.6 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.3144, allocations: 90.5 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.3145, allocations: 36.89 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.3145, allocations: 4 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.3145, allocations: 34.56 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3146, allocations: 0 / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004608/0.315, allocations: 129.6 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.3151, allocations: 51.41 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.3152, allocations: 129.7 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.3152, allocations: 33.64 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.3152, allocations: 96.03 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.3153, allocations: 19.66 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.3153, allocations: 25.81 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3155, allocations: 318.7 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.3156, allocations: 31.97 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.3157, allocations: 31.97 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.3159, allocations: 68.81 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3159, allocations: 0 / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000276/0.3162, allocations: 105.6 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3162, allocations: 4 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3162, allocations: 0 / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3162, allocations: 0 / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.3164, allocations: 23.92 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3164, allocations: 0 / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.3165, allocations: 12.33 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3165, allocations: 0 / 1.057 GB, free: 4.004 MB / 0.8106 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 (6): * Single equations (assignments): 6 * 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.459e-05/0.3166, allocations: 117.8 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.3166, allocations: 7.984 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.3167, allocations: 12.31 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3167, allocations: 8 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3167, allocations: 0 / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3167, allocations: 4 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.3169, allocations: 197.5 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3169, allocations: 0 / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.317, allocations: 15.98 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.317, allocations: 0 / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.3171, allocations: 3.984 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3171, allocations: 0 / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3171, allocations: 0 / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.3174, allocations: 207.4 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.3175, allocations: 81.02 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.3175, allocations: 4 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.3176, allocations: 7.984 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.931e-05/0.3177, allocations: 15.98 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.3177, allocations: 0 / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.054e-05/0.3178, allocations: 95.27 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8.62e-07/0.3178, allocations: 7.938 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002311/0.318, allocations: 11.94 kB / 1.057 GB, free: 3.129 MB / 0.8106 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 (6): * Single equations (assignments): 6 * 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.0006667/0.3187, allocations: 0.7435 MB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.319, allocations: 75.94 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.319, allocations: 0 / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.3191, allocations: 43.91 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.3195, allocations: 9.547 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.3212, allocations: 1.463 MB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.3214, allocations: 0.6885 MB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.917e-05/0.3215, allocations: 11.98 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.3216, allocations: 23.42 kB / 1.06 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3216, allocations: 0 / 1.06 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7305/1.052, allocations: 2.114 MB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003191/1.052, allocations: 204.8 kB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.921, allocations: 0 / 1.063 GB, free: 13.69 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches