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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001999/0.001999, allocations: 197.3 kB / 16.25 MB, free: 6.625 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.549/1.549, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.786/2.786, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.002081, allocations: 71.89 kB / 0.8688 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8107/0.8128, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002303/0.8152, allocations: 0.7665 MB / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.8163, allocations: 0.8079 MB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.064e-05/0.8163, allocations: 0 / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.032e-05/0.8164, allocations: 0 / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.88e-05/0.8165, allocations: 7.938 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.981e-05/0.8166, allocations: 7.984 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.542e-05/0.8167, allocations: 47.8 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.8168, allocations: 8 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.57e-05/0.8169, allocations: 15.98 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.136e-05/0.8169, allocations: 27.84 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.817, allocations: 4 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.817, allocations: 4 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.817, allocations: 7.984 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.8171, allocations: 19.92 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.611e-05/0.8172, allocations: 43.81 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.8172, allocations: 3.938 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.484e-06/0.8172, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.8172, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 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.0005788/0.8178, allocations: 365.3 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.8178, allocations: 12.03 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.8179, allocations: 0.9375 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.818, allocations: 172.3 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.818, allocations: 4.375 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.8181, allocations: 4.375 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.8183, allocations: 70.16 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.8183, allocations: 4.188 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.8183, allocations: 3.938 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.8184, allocations: 0 / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.8186, allocations: 63.92 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.8191, allocations: 269 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.8193, allocations: 66.41 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.8195, allocations: 44.91 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.8195, allocations: 4 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.8195, allocations: 30.56 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.8196, allocations: 4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005437/0.8201, allocations: 129.5 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.8202, allocations: 51.41 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.8203, allocations: 109.8 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.8203, allocations: 33.64 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.649e-05/0.8204, allocations: 84.14 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.8204, allocations: 7.844 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.8205, allocations: 21.7 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.8207, allocations: 310.8 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.8208, allocations: 31.97 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.821, allocations: 35.95 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.8213, allocations: 68.78 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.8213, allocations: 3.938 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003143/0.8216, allocations: 105.5 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.8216, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8216, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.8217, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.8218, allocations: 23.92 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.8218, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.032e-05/0.8219, allocations: 15.97 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.8219, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 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 0.0001035/0.822, allocations: 118.3 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.822, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.8221, allocations: 11.84 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8221, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.8221, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.8221, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.8223, allocations: 173.6 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8223, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.114e-05/0.8224, allocations: 11.98 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.8224, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.8224, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.8224, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.8224, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/0.8228, allocations: 203.2 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.8229, allocations: 81.11 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.8229, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.823, allocations: 12.36 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.8231, allocations: 4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.8231, allocations: 7.984 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001231/0.8232, allocations: 87.58 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8232, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002135/0.8234, allocations: 8 kB / 1.021 GB, free: 13.79 MB / 0.7794 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.0001608/0.8236, allocations: 103.2 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.8239, allocations: 71.91 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.824, allocations: 0 / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.8241, allocations: 39.89 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.8244, allocations: 14.33 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.8248, allocations: 141.4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.8252, allocations: 0.6807 MB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.8252, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.8253, allocations: 15.44 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8253, allocations: 0 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.003083/0.8284, allocations: 0.5564 MB / 1.023 GB, free: 12.11 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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