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.001385/0.001384, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.663/2.663, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 66.19 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3277, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002309/0.3301, allocations: 0.7703 MB / 1.054 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3311, allocations: 0.8468 MB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.3312, allocations: 0 / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.791e-05/0.3313, allocations: 3.938 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.058e-05/0.3314, allocations: 11.86 kB / 1.055 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.3315, allocations: 31.91 kB / 1.055 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.3317, allocations: 67.89 kB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.3318, allocations: 27.84 kB / 1.055 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.271e-05/0.3319, allocations: 35.8 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.766e-05/0.332, allocations: 35.83 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.332, allocations: 8 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.789e-05/0.332, allocations: 8 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.849e-05/0.3321, allocations: 15.97 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.056e-05/0.3321, allocations: 31.8 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.3323, allocations: 79.73 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3323, allocations: 0 / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3323, allocations: 0 / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.3323, allocations: 4 kB / 1.055 GB, free: 6.27 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.0005761/0.3329, allocations: 373.1 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.3329, allocations: 8.625 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.056e-05/0.333, allocations: 42.73 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.333, allocations: 8.844 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.3332, allocations: 172.2 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.3332, allocations: 4.375 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.3332, allocations: 4.375 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.3334, allocations: 86.14 kB / 1.056 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3334, allocations: 3.938 kB / 1.056 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.3335, allocations: 4 kB / 1.056 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3335, allocations: 4 kB / 1.056 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.3337, allocations: 67.94 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.3342, allocations: 328.6 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.3344, allocations: 82.53 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.3346, allocations: 40.92 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.3346, allocations: 3.984 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.3346, allocations: 38.56 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 2.685e-06/0.3346, allocations: 0 / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004517/0.3351, allocations: 133.6 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.3352, allocations: 59.39 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.325e-05/0.3353, allocations: 121.8 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.3353, allocations: 25.7 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.3353, allocations: 104 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.3354, allocations: 15.66 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.3354, allocations: 21.7 kB / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3355, allocations: 322.8 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.3357, allocations: 31.97 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.3358, allocations: 28.08 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.336, allocations: 80.69 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.336, allocations: 3.938 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002832/0.3363, allocations: 97.64 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3363, allocations: 9.094 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3364, allocations: 0 / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3364, allocations: 0 / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.3365, allocations: 15.98 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.3365, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.643e-05/0.3366, allocations: 15.89 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.3366, allocations: 0 / 1.057 GB, free: 3.727 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.13e-05/0.3367, allocations: 121.7 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.3368, allocations: 4 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.3368, allocations: 16.34 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3368, allocations: 0 / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3368, allocations: 0 / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3368, allocations: 4 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.337, allocations: 197.5 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.337, allocations: 4.438 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.3371, allocations: 15.98 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3371, allocations: 0 / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3372, allocations: 4 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3372, allocations: 3.984 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3372, allocations: 0 / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.3375, allocations: 203.4 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.3376, allocations: 81.02 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.3376, allocations: 7.938 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3377, allocations: 7.984 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.3378, allocations: 11.98 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.3378, allocations: 4 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.717e-05/0.3378, allocations: 103.6 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3378, allocations: 0 / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002226/0.3381, allocations: 11.94 kB / 1.058 GB, free: 2.844 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.0006356/0.3387, allocations: 0.7397 MB / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.339, allocations: 79.81 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.339, allocations: 8 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.3391, allocations: 39.97 kB / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.3395, allocations: 4 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.3412, allocations: 1.45 MB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.3415, allocations: 0.6885 MB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.124e-05/0.3415, allocations: 8 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.3416, allocations: 23.42 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3416, allocations: 0 / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04333/0.3849, allocations: 2.278 MB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.481/7.866, allocations: 4.812 kB / 1.063 GB, free: 13.47 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