Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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: 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_11_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_11_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.008263/0.008263, allocations: 100.5 kB / 15.73 MB, free: 6.062 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.001775/0.001775, allocations: 196.9 kB / 16.68 MB, free: 5.969 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.644/2.644, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 68.05 kB / 1.065 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9982/0.9996, allocations: 159.1 MB / 1.221 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001846/1.001, allocations: 0.7076 MB / 1.221 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001081/1.003, allocations: 0.8079 MB / 1.222 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/1.003, allocations: 0 / 1.222 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/1.003, allocations: 3.938 kB / 1.222 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.17e-05/1.003, allocations: 3.938 kB / 1.222 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.817e-05/1.003, allocations: 7.984 kB / 1.222 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.756e-05/1.003, allocations: 51.84 kB / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/1.003, allocations: 8 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.449e-05/1.003, allocations: 15.92 kB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.827e-05/1.003, allocations: 23.91 kB / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/1.003, allocations: 4 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.325e-06/1.003, allocations: 7.938 kB / 1.222 GB, free: 436 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/1.003, allocations: 7.984 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/1.003, allocations: 19.92 kB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.243e-05/1.003, allocations: 39.81 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.003, allocations: 0 / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/1.003, allocations: 0 / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.36e-06/1.003, allocations: 0 / 1.222 GB, free: 368 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005489/1.004, allocations: 371.8 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/1.004, allocations: 12.03 kB / 1.223 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/1.004, allocations: 8.891 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/1.004, allocations: 172.3 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/1.004, allocations: 384 / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/1.004, allocations: 4.375 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/1.004, allocations: 70.16 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.004, allocations: 4.188 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/1.004, allocations: 3.938 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.004, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/1.005, allocations: 63.92 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/1.005, allocations: 268.9 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/1.005, allocations: 54.58 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/1.005, allocations: 48.75 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/1.005, allocations: 0 / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/1.006, allocations: 34.56 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/1.006, allocations: 4 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005514/1.006, allocations: 125.6 kB / 1.224 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/1.006, allocations: 51.41 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/1.006, allocations: 109.8 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/1.006, allocations: 25.7 kB / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/1.006, allocations: 92.14 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/1.006, allocations: 11.84 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/1.006, allocations: 21.7 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.006, allocations: 310.8 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/1.007, allocations: 31.91 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/1.007, allocations: 39.95 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/1.007, allocations: 64.78 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.007, allocations: 11.88 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003163/1.007, allocations: 89.62 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.007, allocations: 12 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/1.007, allocations: 0 / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/1.007, allocations: 0 / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/1.007, allocations: 15.98 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/1.007, allocations: 3.938 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.65e-05/1.008, allocations: 19.92 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/1.008, allocations: 4 kB / 1.224 GB, free: 14.02 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 (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 9.749e-05/1.008, allocations: 113.8 kB / 1.225 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/1.008, allocations: 8.328 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/1.008, allocations: 7.906 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.008, allocations: 3.984 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.008, allocations: 0 / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.008, allocations: 0 / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/1.008, allocations: 173.6 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.008, allocations: 0 / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/1.008, allocations: 19.92 kB / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.008, allocations: 0 / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/1.008, allocations: 4 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.008, allocations: 0 / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.008, allocations: 0 / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/1.008, allocations: 207.3 kB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/1.008, allocations: 77.11 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/1.008, allocations: 4 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/1.009, allocations: 11.98 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/1.009, allocations: 0 / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/1.009, allocations: 4 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.538e-05/1.009, allocations: 87.27 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8.1e-08/1.009, allocations: 0 / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002125/1.009, allocations: 8 kB / 1.225 GB, free: 13.2 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 (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.0001571/1.009, allocations: 103.2 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003171/1.009, allocations: 67.92 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.009, allocations: 0 / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/1.01, allocations: 43.89 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/1.01, allocations: 19.81 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/1.01, allocations: 129.4 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/1.01, allocations: 0.6768 MB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.926e-05/1.011, allocations: 4 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/1.011, allocations: 7.438 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/1.011, allocations: 0 / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of Templates: time 0.003699/1.014, allocations: 0.6803 MB / 1.227 GB, free: 11.42 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches