Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 110.8 kB / 16.41 MB, free: 5.973 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.001866/0.001866, allocations: 187.1 kB / 17.35 MB, free: 5.586 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.555/1.555, allocations: 222.9 MB / 241 MB, free: 15.06 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.552/2.552, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 71.89 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9512/0.9529, allocations: 151.6 MB / 1.167 GB, free: 3.949 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001899/0.9548, allocations: 0.706 MB / 1.168 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.9559, allocations: 0.8 MB / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.956, allocations: 4 kB / 1.169 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.956, allocations: 0 / 1.169 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.468e-05/0.9561, allocations: 11.88 kB / 1.169 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.735e-05/0.9562, allocations: 7.984 kB / 1.169 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.9563, allocations: 47.91 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.9565, allocations: 11.98 kB / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.943e-05/0.9566, allocations: 19.92 kB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.696e-05/0.9566, allocations: 23.91 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.9567, allocations: 0 / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.684e-06/0.9567, allocations: 4 kB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.9567, allocations: 11.94 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.9568, allocations: 19.92 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.9569, allocations: 35.88 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9569, allocations: 8 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.696e-06/0.9569, allocations: 0 / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.9569, allocations: 0 / 1.169 GB, free: 2.234 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.000651/0.9576, allocations: 369.1 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.9576, allocations: 12.86 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.9577, allocations: 8.781 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.9578, allocations: 168.4 kB / 1.17 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.9578, allocations: 384 / 1.17 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.9579, allocations: 12.38 kB / 1.17 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.9581, allocations: 62.22 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.9581, allocations: 192 / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.9582, allocations: 7.938 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.9582, allocations: 0 / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.9585, allocations: 67.92 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.9589, allocations: 268.8 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.9591, allocations: 58.47 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.9593, allocations: 44.91 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.9593, allocations: 4 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.9593, allocations: 38.55 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.9593, allocations: 0 / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005412/0.9599, allocations: 125.5 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.9599, allocations: 55.41 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.96, allocations: 110.1 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.96, allocations: 25.7 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.9601, allocations: 90.48 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.9601, allocations: 15.83 kB / 1.171 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.9602, allocations: 13.72 kB / 1.171 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.9603, allocations: 314.8 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.9604, allocations: 35.95 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.9606, allocations: 27.97 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.9608, allocations: 68.78 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9609, allocations: 3.938 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003221/0.9612, allocations: 101.6 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.9612, allocations: 4 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.9612, allocations: 0 / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.9612, allocations: 0 / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.9614, allocations: 19.97 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.9614, allocations: 4.062 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.768e-05/0.9615, allocations: 19.98 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.9615, allocations: 0 / 1.171 GB, free: 15.9 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 8.701e-05/0.9616, allocations: 117.7 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.9616, allocations: 3.906 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.9616, allocations: 7.906 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.9616, allocations: 4 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.9616, allocations: 4 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.9617, allocations: 81.09 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.9617, allocations: 4 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.9618, allocations: 15.92 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.9619, allocations: 7.875 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004377/0.9623, allocations: 184.9 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000386/0.9627, allocations: 275 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001508/0.9629, allocations: 32 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.6e-05/0.9629, allocations: 95.2 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of Backend: time 6.72e-07/0.9629, allocations: 4 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005703/0.9635, allocations: 114.4 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006796/0.9642, allocations: 0.5687 MB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of Templates: time 0.003514/0.9677, allocations: 0.8407 MB / 1.173 GB, free: 13.45 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches