Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add",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.008563/0.008563, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001779/0.001779, allocations: 194.2 kB / 16.67 MB, free: 5.918 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.391/1.391, 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 10.1.1-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.91 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8683/0.8704, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001944/0.8724, allocations: 0.712 MB / 1.167 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009801/0.8734, allocations: 0.7962 MB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.333e-05/0.8734, allocations: 0 / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.8735, allocations: 3.938 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.308e-05/0.8736, allocations: 3.938 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.2e-05/0.8736, allocations: 19.92 kB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.8737, allocations: 43.91 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.8739, allocations: 12 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.151e-05/0.874, allocations: 19.92 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.874, allocations: 23.91 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.874, allocations: 4 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.8741, allocations: 4 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.8741, allocations: 11.92 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.8741, allocations: 15.92 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.8743, allocations: 35.88 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.8743, allocations: 4 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.345e-06/0.8743, allocations: 3.938 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.8743, allocations: 0 / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006857/0.875, allocations: 365.6 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.875, allocations: 8.922 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.289e-05/0.8751, allocations: 42.67 kB / 1.168 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.8751, allocations: 4.844 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.8753, allocations: 168.3 kB / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.8753, allocations: 4.375 kB / 1.168 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.8753, allocations: 8.312 kB / 1.168 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.8756, allocations: 66.22 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.8756, allocations: 7.922 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.8756, allocations: 0 / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.8756, allocations: 0 / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.8759, allocations: 67.92 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.8764, allocations: 272.8 kB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.8766, allocations: 54.53 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.8767, allocations: 40.92 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.8767, allocations: 0 / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.8768, allocations: 38.56 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.8768, allocations: 0 / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0004912/0.8773, allocations: 133.5 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.8773, allocations: 51.41 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.16e-05/0.8774, allocations: 109.8 kB / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.8775, allocations: 29.7 kB / 1.169 GB, free: 408 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.8775, allocations: 90.48 kB / 1.169 GB, free: 316 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.8775, allocations: 11.83 kB / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.8776, allocations: 17.72 kB / 1.169 GB, free: 280 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.8777, allocations: 314.8 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.8779, allocations: 35.95 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.878, allocations: 27.97 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.8783, allocations: 72.72 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8783, allocations: 7.938 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003049/0.8786, allocations: 93.62 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.8786, allocations: 4 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.8786, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.8786, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.8787, allocations: 19.92 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.8788, allocations: 4 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.038e-05/0.8788, allocations: 15.97 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.8789, allocations: 0 / 1.17 GB, free: 15.67 MB / 0.9044 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 (3): * Single equations (assignments): 3 * 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.841e-05/0.8789, allocations: 113.8 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.879, allocations: 11.91 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.879, allocations: 7.906 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.879, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.879, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.879, allocations: 8 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.8792, allocations: 165.6 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8792, allocations: 4 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-05/0.8793, allocations: 19.92 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.8793, allocations: 336 / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.8793, allocations: 3.938 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.8793, allocations: 4 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.8793, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.8797, allocations: 199.4 kB / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.8797, allocations: 81.02 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.8797, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.8798, allocations: 15.98 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.8799, allocations: 3.984 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.8799, allocations: 4 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.769e-05/0.88, allocations: 87.28 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.88, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002155/0.8802, allocations: 8 kB / 1.171 GB, free: 14.85 MB / 0.9044 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 (3): * Single equations (assignments): 3 * 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.0007222/0.8809, allocations: 0.7319 MB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.8813, allocations: 67.92 kB / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8813, allocations: 0 / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.8814, allocations: 43.89 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.8818, allocations: 8.547 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/0.8823, allocations: 159 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.8827, allocations: 0.6807 MB / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.8827, allocations: 0 / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.8828, allocations: 15.44 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.8828, allocations: 7.938 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.9026, allocations: 1.609 MB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/8.533, allocations: 14.05 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches