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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00115/0.00115, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.009418/0.009418, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.344/1.344, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.645/2.645, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 12.28 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3153, allocations: 159.6 MB / 1.059 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001006/0.3164, allocations: 0.4923 MB / 1.059 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009782/0.3174, allocations: 0.8429 MB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.182e-05/0.3175, allocations: 0 / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.3175, allocations: 11.92 kB / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.389e-05/0.3176, allocations: 7.938 kB / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.3177, allocations: 19.98 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.674e-05/0.3179, allocations: 63.89 kB / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.318, allocations: 19.84 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.471e-05/0.3181, allocations: 27.84 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.029e-05/0.3181, allocations: 39.84 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.3182, allocations: 0 / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.3182, allocations: 4 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.3182, allocations: 19.86 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.3183, allocations: 53.55 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.981e-05/0.3184, allocations: 63.75 kB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3184, allocations: 0 / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3184, allocations: 0 / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.3184, allocations: 0 / 1.06 GB, free: 3.137 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.0005217/0.3189, allocations: 367.6 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.319, allocations: 11.97 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.319, allocations: 42.73 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.3191, allocations: 8.844 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.3192, allocations: 172.3 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3193, allocations: 4.375 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.3193, allocations: 4.375 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.3195, allocations: 98.08 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3195, allocations: 3.938 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3196, allocations: 0 / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3196, allocations: 0 / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.3198, allocations: 79.94 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.3203, allocations: 324.6 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.3205, allocations: 98.47 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.3207, allocations: 44.92 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.3207, allocations: 3.984 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.3208, allocations: 34.56 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3208, allocations: 0 / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004907/0.3213, allocations: 153.5 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.3213, allocations: 59.34 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.968e-05/0.3214, allocations: 117.8 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3214, allocations: 33.7 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.3215, allocations: 92.03 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.3215, allocations: 19.75 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.3216, allocations: 9.719 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.3217, allocations: 326.9 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.3218, allocations: 39.91 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.3219, allocations: 31.98 kB / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.3222, allocations: 81.19 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3222, allocations: 0 / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002864/0.3225, allocations: 125.5 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3225, allocations: 5.406 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3225, allocations: 0 / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3225, allocations: 3.984 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.3227, allocations: 19.98 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3227, allocations: 4 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.309e-05/0.3228, allocations: 11.98 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3228, allocations: 0 / 1.063 GB, free: 0.5195 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.533e-05/0.3229, allocations: 117.8 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.3229, allocations: 3.906 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.3229, allocations: 12.38 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3229, allocations: 0 / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.323, allocations: 4 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.323, allocations: 0 / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.3231, allocations: 201.5 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3232, allocations: 0 / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.3233, allocations: 23.92 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3233, allocations: 0 / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.3233, allocations: 0 / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3233, allocations: 0 / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3233, allocations: 0 / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.3237, allocations: 215.5 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.3237, allocations: 89 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.3237, allocations: 4 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.3239, allocations: 15.98 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.3239, allocations: 11.98 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3239, allocations: 0 / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.486e-05/0.324, allocations: 95.7 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.452e-06/0.324, allocations: 0 / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002264/0.3242, allocations: 19.88 kB / 1.064 GB, free: 15.62 MB / 0.8262 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.0006537/0.3249, allocations: 0.7554 MB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002794/0.3252, allocations: 83.95 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3252, allocations: 0 / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.3253, allocations: 47.91 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3256, allocations: 12.31 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.3274, allocations: 1.483 MB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.3277, allocations: 0.6926 MB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.389e-05/0.3277, allocations: 8 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.3278, allocations: 23.42 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of SimCode: time 6.71e-07/0.3278, allocations: 0 / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.3409, allocations: 1.96 MB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003034/0.3412, allocations: 213.4 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.079, allocations: 0 / 1.069 GB, free: 10.29 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