Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_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.001576/0.001576, 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.001714/0.001714, allocations: 197.3 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.66/2.66, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 74.69 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2572, allocations: 159.1 MB / 1.064 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001685/0.2589, allocations: 0.7095 MB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007592/0.2597, allocations: 0.8079 MB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.162e-05/0.2597, allocations: 0 / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.2598, allocations: 0 / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.973e-05/0.2598, allocations: 11.86 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.408e-05/0.2599, allocations: 11.98 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.616e-05/0.2599, allocations: 47.84 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/0.26, allocations: 8 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.059e-05/0.26, allocations: 19.98 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.756e-05/0.2601, allocations: 19.86 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.2601, allocations: 4 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.2601, allocations: 4 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.2601, allocations: 7.984 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.2601, allocations: 19.88 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.045e-05/0.2602, allocations: 43.84 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.2602, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.01e-07/0.2602, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.314e-06/0.2602, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 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.0004179/0.2606, allocations: 359.7 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.337e-05/0.2607, allocations: 8.031 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.2607, allocations: 38.69 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.582e-05/0.2607, allocations: 8.844 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.2608, allocations: 176.2 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-06/0.2609, allocations: 384 / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.2609, allocations: 384 / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.2611, allocations: 74.22 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.2611, allocations: 3.938 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-06/0.2611, allocations: 0 / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-06/0.2611, allocations: 0 / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.2614, allocations: 63.92 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.2617, allocations: 276.8 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.2619, allocations: 54.55 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.262, allocations: 44.89 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.262, allocations: 0 / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.2621, allocations: 38.56 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.2621, allocations: 0 / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0004769/0.2625, allocations: 129.5 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.2626, allocations: 55.41 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.2627, allocations: 109.8 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.2627, allocations: 25.7 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.2627, allocations: 88.14 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.2628, allocations: 7.812 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.2628, allocations: 13.72 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2629, allocations: 318.8 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.2631, allocations: 35.97 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.2632, allocations: 31.95 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.2635, allocations: 72.67 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2635, allocations: 3.938 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000311/0.2638, allocations: 101.6 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.2638, allocations: 4 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.2638, allocations: 320 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.2638, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.2639, allocations: 15.98 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.2639, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.312e-05/0.264, allocations: 11.98 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.264, allocations: 11.98 kB / 1.068 GB, free: 10.03 MB / 0.8262 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 6.94e-05/0.2641, allocations: 117.8 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.2641, allocations: 7.906 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.683e-05/0.2642, allocations: 3.906 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2642, allocations: 0 / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.2642, allocations: 0 / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-06/0.2642, allocations: 0 / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.2644, allocations: 173.6 kB / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2644, allocations: 0 / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.286e-05/0.2645, allocations: 31.84 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2645, allocations: 0 / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.2645, allocations: 0 / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.2645, allocations: 0 / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2645, allocations: 0 / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.2648, allocations: 199.4 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.2649, allocations: 85.33 kB / 1.068 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.2649, allocations: 3.984 kB / 1.068 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.265, allocations: 11.98 kB / 1.068 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.265, allocations: 4 kB / 1.068 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.2651, allocations: 4 kB / 1.068 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.2651, allocations: 87.27 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2651, allocations: 0 / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001978/0.2653, allocations: 12 kB / 1.069 GB, free: 9.207 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 (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.0006487/0.266, allocations: 0.7318 MB / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.2663, allocations: 71.92 kB / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.2663, allocations: 0 / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.2665, allocations: 39.91 kB / 1.069 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.2667, allocations: 17.64 kB / 1.069 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.267, allocations: 153 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.2673, allocations: 0.6807 MB / 1.07 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.29e-05/0.2673, allocations: 3.984 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.2674, allocations: 15.44 kB / 1.07 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2674, allocations: 4 kB / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.854/1.121, allocations: 1.585 MB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/12.41, allocations: 5.938 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches