Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Exp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",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.005372/0.005372, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001559/0.001559, allocations: 200.4 kB / 16.68 MB, free: 5.934 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.738/2.738, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6509/0.6529, allocations: 159.1 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001786/0.6547, allocations: 0.6563 MB / 1.221 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009583/0.6557, allocations: 0.8039 MB / 1.222 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.6557, allocations: 4 kB / 1.222 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.6558, allocations: 0 / 1.222 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.102e-05/0.6558, allocations: 3.938 kB / 1.222 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.6559, allocations: 11.98 kB / 1.222 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.459e-05/0.656, allocations: 19.94 kB / 1.222 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.581e-05/0.6561, allocations: 7.984 kB / 1.222 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.227e-05/0.6562, allocations: 11.94 kB / 1.222 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.044e-05/0.6562, allocations: 11.97 kB / 1.222 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.6562, allocations: 4 kB / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.6563, allocations: 4 kB / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.6563, allocations: 4 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.6563, allocations: 7.938 kB / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.129e-05/0.6564, allocations: 23.89 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.6564, allocations: 0 / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6564, allocations: 0 / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.6564, allocations: 0 / 1.222 GB, free: 456 kB / 0.9356 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.0004571/0.6569, allocations: 339.2 kB / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.6569, allocations: 8.031 kB / 1.222 GB, free: 60 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.657, allocations: 38.69 kB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.304e-05/0.657, allocations: 8.891 kB / 1.222 GB, free: 4 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.6572, allocations: 168.3 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.6572, allocations: 384 / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.6572, allocations: 384 / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.6574, allocations: 50.23 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.6574, allocations: 3.938 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.6574, allocations: 0 / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.6574, allocations: 4 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.6576, allocations: 39.89 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.6579, allocations: 244.9 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.6581, allocations: 46.48 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.6582, allocations: 24.89 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.6582, allocations: 4 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.6582, allocations: 34.56 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 4.368e-06/0.6582, allocations: 0 / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003588/0.6586, allocations: 85.52 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.6587, allocations: 51.41 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.652e-05/0.6587, allocations: 102 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.6588, allocations: 29.7 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.6588, allocations: 88.08 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.6588, allocations: 11.94 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.6589, allocations: 13.72 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.659, allocations: 310.8 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.19e-05/0.6591, allocations: 15.98 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.331e-05/0.6592, allocations: 23.97 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.6594, allocations: 36.83 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6594, allocations: 3.938 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002099/0.6596, allocations: 73.59 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.6596, allocations: 4 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6596, allocations: 4.094 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.6597, allocations: 4 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.503e-05/0.6597, allocations: 7.984 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.6598, allocations: 0 / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.6598, allocations: 4 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.6598, allocations: 0 / 1.224 GB, free: 14.37 MB / 0.9512 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 7.851e-05/0.6599, allocations: 117.8 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.6599, allocations: 0 / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.6602, allocations: 76.72 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6602, allocations: 4 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6602, allocations: 0 / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6602, allocations: 0 / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.6604, allocations: 157.6 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6604, allocations: 0 / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.303e-05/0.6605, allocations: 11.98 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6605, allocations: 0 / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.6605, allocations: 4.031 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.6605, allocations: 0 / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6605, allocations: 0 / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.6608, allocations: 167.4 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.6608, allocations: 77.11 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.6608, allocations: 7.922 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.16e-05/0.6609, allocations: 11.97 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.661, allocations: 7.938 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.661, allocations: 3.984 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.583e-05/0.661, allocations: 83.28 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.661, allocations: 0 / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000222/0.6613, allocations: 4 kB / 1.224 GB, free: 13.55 MB / 0.9512 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.0005831/0.6619, allocations: 0.6934 MB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.6621, allocations: 43.89 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6621, allocations: 0 / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.84e-05/0.6622, allocations: 20.08 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.6625, allocations: 4 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.6629, allocations: 135 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.6632, allocations: 0.6768 MB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.439e-05/0.6632, allocations: 7.906 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.6632, allocations: 11.44 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of SimCode: time 2.81e-07/0.6632, allocations: 0 / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.6839, allocations: 1.263 MB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.605/8.289, allocations: 8.531 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches