Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Round,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_10_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.00544/0.00544, allocations: 102.2 kB / 15.73 MB, free: 5.516 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.001185/0.001185, allocations: 203.2 kB / 16.68 MB, free: 5.445 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.109 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.777/2.777, allocations: 437 MB / 0.7105 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.91 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3322, allocations: 151.6 MB / 1.166 GB, free: 7.227 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.00211/0.3344, allocations: 0.7606 MB / 1.167 GB, free: 6.465 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.3354, allocations: 0.8432 MB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.642e-05/0.3355, allocations: 0 / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.854e-05/0.3356, allocations: 3.938 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.87e-05/0.3357, allocations: 7.938 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.3359, allocations: 31.89 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.336, allocations: 71.84 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.3361, allocations: 23.97 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.33e-05/0.3362, allocations: 31.91 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.3363, allocations: 35.84 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.3363, allocations: 8 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.694e-05/0.3363, allocations: 8 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.995e-05/0.3364, allocations: 27.84 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.3364, allocations: 31.8 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.3366, allocations: 79.89 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3366, allocations: 0 / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3366, allocations: 0 / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3366, allocations: 0 / 1.168 GB, free: 5.254 MB / 0.92 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.0005714/0.3372, allocations: 379.1 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3372, allocations: 12.03 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.3373, allocations: 34.75 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.3373, allocations: 12.89 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.3375, allocations: 184.2 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3375, allocations: 4.375 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.3375, allocations: 4.375 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.3377, allocations: 82.2 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3378, allocations: 3.938 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3378, allocations: 3.938 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3378, allocations: 0 / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.338, allocations: 71.94 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.3385, allocations: 316.7 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.3388, allocations: 86.56 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.3389, allocations: 40.89 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3389, allocations: 4 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.3389, allocations: 38.56 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.3389, allocations: 0 / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004594/0.3394, allocations: 137.5 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.3395, allocations: 51.41 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.609e-05/0.3396, allocations: 121.8 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.3396, allocations: 25.7 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.3396, allocations: 100.1 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.3397, allocations: 15.8 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.3397, allocations: 25.7 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.733e-05/0.3398, allocations: 318.8 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.3399, allocations: 31.97 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.3401, allocations: 35.97 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.3403, allocations: 64.81 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3403, allocations: 0 / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002855/0.3406, allocations: 109.5 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3406, allocations: 4 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3406, allocations: 0 / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3406, allocations: 0 / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.3408, allocations: 20.09 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3408, allocations: 7.922 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.058e-05/0.3409, allocations: 7.984 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.3409, allocations: 4 kB / 1.17 GB, free: 2.707 MB / 0.92 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 9.993e-05/0.341, allocations: 121.7 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.341, allocations: 11.95 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.3411, allocations: 8.375 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3411, allocations: 4 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3411, allocations: 4 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3411, allocations: 3.938 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.3413, allocations: 193.9 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3413, allocations: 0 / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.3414, allocations: 19.97 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3414, allocations: 4 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3415, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3415, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3415, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.3418, allocations: 207.4 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.3419, allocations: 89.06 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.3419, allocations: 3.984 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.342, allocations: 7.984 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.3421, allocations: 11.98 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.3421, allocations: 0 / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.311e-05/0.3422, allocations: 111.6 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3422, allocations: 0 / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002306/0.3424, allocations: 8 kB / 1.171 GB, free: 1.82 MB / 0.92 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.0006055/0.343, allocations: 0.7358 MB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.3433, allocations: 79.88 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3433, allocations: 0 / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.3434, allocations: 43.97 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.3438, allocations: 4 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.3455, allocations: 1.454 MB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.3457, allocations: 0.6923 MB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.386e-05/0.3458, allocations: 8 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.3459, allocations: 27.42 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/0.3459, allocations: 0 / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.3662, allocations: 2.307 MB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/8.098, allocations: 8.594 kB / 1.176 GB, free: 12.42 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches